Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVALUATE() function limitation of 255 symbols.
Message
From
28/04/2004 11:33:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00898945
Message ID:
00898968
Views:
13

Hello all,

We have to evaluate really big expression (SQL Statement) about 10,0000 symbols.
But EVALUATE() function has a restriction of 255 symbols for a parameter.
Does anyone know any workaround for this problem?

Thanks in advance, Paul.


The EVALUATE() limit are fixed by:

Maximum # of characters per command line 8192
Maximum length of a string literal 255

Then, you can EVAL() a 8192 string expression with a max string literal component with 255 chars.
For more 8192 chars you can split the expression into subexpressions.

Macro and EXECSCRIPT ( very slow ) are not usable because these have the same 8192 limits.

True value is 8191.
Previous
Reply
Map
View

Click here to load this message in the networking platform