Character variable problem in 4GL 
Author Message
 Character variable problem in 4GL

Hello,

I have a 4GL function which creates tables dynamically. I need to prepare
the "create table" statement. Since the table created will be huge
the char variable  which holds the create statement has to be large enough
to hold the entire create statement. Unfortunately when i try to
declare a character variable (globally or locally) whose size is greater
than 32767 ,+1 for null (2^15)   like

DEFINE cr_str char(32767)

the 'C' function generated by the c4gl has a definition
char cr_str[102];
(Obviously the 4gl to C generator uses a short int)
Is there a way to overcome this without replacing the 4GL function
with a 'C' function (since the function is complicated,which is easy to
write in 4GL).

Thanks in advance.
+---------------------------+--------------------------+

| Systems Migration Inc.,   | Phone : (612) 890-0040   |
| Burnsville, MN,  U.S.A    | Fax   : (612) 890-0966   |
+--------------------------+---------------------------+
~



Sun, 21 Apr 1996 06:13:03 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Problem BCP with French characters and Spanish characters

2. conversion from 4gl character based interfaces to gui interface

3. Escape Characters in 4GL

4. 4GL: Characters for Window Borders

5. Dynamic 4GL and foreign characters

6. Echo input characters in 4gl

7. How to get line boxing characters in 4GL

8. 4GL *** UPSHIFT Function for 4GL available *** 4GL

9. Problems with updating table variables from other table variables

10. NULL problems assigning to variables from SQL 7.0 database to variables


 
Powered by phpBB® Forum Software