Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in PAD* functions? Or omission in documentation?
Message
From
27/10/2004 04:09:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00954748
Message ID:
00954787
Views:
21
>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform