Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in PAD* functions? Or omission in documentation?
Message
De
27/10/2004 04:09:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00954748
Message ID:
00954787
Vues:
22
>>There's a limit on the size of VFP string variable - 16,777,184 bytes. You can create longer variable but string function will generate an error.
>>
lnMax = 16777184
>>? ALLTRIM(PADr(m.ln, lnMax))
>>? ALLTRIM(PADr(m.ln, lnMax+1))
>>
Check http://fox.wikis.com/wc.dll?Wiki~StringLength
>>
>Thanks, Sergey. This is what I figured. Just thought, it should be explicitly mentioned in the documentation to these functions.


On the documentation it is written:
eExpression 
Specifies the expression to be padded. This expression can be any expression type except a logical or currency expression or a general or picture field. 
This is incorrect:
? PADR(- $922337203685477.5807,21)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform