Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command line length 8,192
Message
De
15/07/2014 09:23:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/07/2014 14:26:13
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603641
Message ID:
01603690
Vues:
113
>>>I agree it seems to be something other than command line length, except that even when there is no syntax error in the concatenated string, it generates a syntax error after exceeding a certain length.
>>
>>Have you tried to save the command as a file, and use execscript() to run it? How many times does the loop run before it errors?
>
>execscript fails at the same length just using the memvar. I would not ever want to create a file to execute for something like this.

You don't need to want to. VFP does that for you. Check your temp folder after each execscript().

BTW, wasn't it "the length of compiled command" that's limited to 8k? And it seems it reserves some space in it for local numerics, names, repackaging parameters etc, so YMMV. The size of compiled command may not be proportional to the size of its source.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform