Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution error (maximum statement length?)
Message
De
05/10/1999 10:06:01
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:
00272686
Vues:
33
>>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

Yeah, I found also the maximum at 255. Strange.
I didn't find the maximum numbers though. Can you point out where in the manuals it can be found?

KR,
Wim.
---
Life is like a box of chocolates
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform