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:
01051405
Views:
9
>>
>>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.
>
>Interesting, the code causes a crash in VFP6SP5

A lot of bugs have been fixed since VFP6SP5. :)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform