Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a limit on length of string to macro?
Message
 
À
31/05/2008 20:12:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01320797
Message ID:
01321045
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform