Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in PAD* functions? Or omission in documentation?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bug in PAD* functions? Or omission in documentation?
Miscellaneous
Thread ID:
00954748
Message ID:
00954748
Views:
54
Hi everybody,

Perhaps Fabio already reported it, but I just discovered a problem in VFP8:
ln=RAND()*100000000000000
?ln
?ALLTRIM(PADr(m.ln,10000000000000000000000000))
?PADr(m.ln,10000000000000000000000000)
?ln
?ALLTRIM(PADr(m.ln,1000000000000))
?ALLTRIM(PADr(m.ln,100000000000))
?ALLTRIM(PADr(m.ln,10000000000))
?ALLTRIM(PADr(m.ln,1000000000))
?ALLTRIM(PADr(m.ln,100000000))
?ALLTRIM(PADr(m.ln,10000000))
In the documentation to PADR (C,L) functions there is no mentioning about what is the maximum number allowed in these functions. I believe, it should be documented. What does VFP9 say about it?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform