Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExecScript Limitations
Message
From
30/08/2004 10:10:29
 
 
To
30/08/2004 04:31:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00937473
Message ID:
00937579
Views:
25
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform