Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eval() length limit ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01050996
Message ID:
01051404
Vues:
15
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform