Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eval() length limit ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01050996
Message ID:
01051109
Views:
10
Raphael,

8K (although I ran this test in VFP8)

Here's the test code I used:
lcBigStringConstant = ["] + replicate( "1234567890", 25 ) + [a"]
lcEvalIt = lcBigStringConstant
for i = 1 to 100
   lcEvalIt = lcEvalIt + " + " + lcBigStringConstant
   lcTest = eval( lcEvalIt )
   ? i, len( lcEvalIt ), len( lcTest )
endfor
>what is the max amount of characters that can be an argument to EVAL() ?
>It seems to be more than 256 (somewhat suprisingly) but I need to know what its limit is.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform