Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution error (maximum statement length?)
Message
 
À
05/10/1999 08:57:10
Wim Dieke
Tranquility Bv
Almere, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00272599
Message ID:
00272674
Vues:
28
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform