Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution error (maximum statement length?)
Message
 
To
05/10/1999 08:57:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00272599
Message ID:
00272674
Views:
29
>Thnx, this helped.
>
>BTW, do you know what the maximum statement length is?

According to the 5.0 help:
Maximum # of characters per command line 8,192
Maximum # of characters per macro subst. Line 8,192

But I've run into problems with macro substituted commands beyond 255. Just for grins, run the following code:

FOR lnCtr = 250 TO 260
lcCmd = '?? "' + REPLICATE('*', lnCtr) + '"'
? lnCtr
&lcCmd
ENDFOR
Oct 31 = Dec 25
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform