Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a limit on length of string to macro?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01320797
Message ID:
01321045
Views:
19
Just adding to what has been said that the easiest way for me to find a limit of a command is to use:
try
	lcCmd			= Replicate('*', 8190)
	&lcCmd
	lcCmd			= Replicate('*', 8191)
	&lcCmd
catch
	? 'Did not work for ', Len(lcCmd)
endtry

* or

try
	lcCmd			= Replicate('*', 8190)
	Execscript(lcCmd)
	lcCmd			= Replicate('*', 8191)
	Execscript(lcCmd)
catch
	? 'Did not work for ', Len(lcCmd)
endtry
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform