Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExecScript Limitations
Message
De
30/08/2004 10:10:29
 
 
À
30/08/2004 04:31:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00937473
Message ID:
00937579
Vues:
24
Hi Pat,

The 64K is the same limitation as that of procedures in VFP. Multiple procedures or functions can exist in a file larger than 64K and VFP has no problem with it, but no compiled single procedure/function can be larger than 64K.


>Hi John,
>
>I came to a limitation in execsript(): it wasn't able to treat "script files" larger than 64Kb (actually the limit is even a bit lower than that).
>
>Are you in that situation?
>
>Pat
>
>
>>I have a table with a memo field. The memo field contains code to execute. When I run ExecScript(TableName.MemoField) I get a syntax error. The debugger won't show any code when I am running ExecScript() so I can't see the problem.
>>
>>However, if I do exactly the same thing except I copy the contents of the memo field to a .PRG and run that instead of the ExecScript(), everything works perfectly with no errors.
>>
>>The Foxpro help file mentions no limitations of ExecScript() although there must be some. In the script, I call database stored procedures. Is that it?
>>
>>Any ideas or wisdom to share?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform