Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in PAD* functions? Or omission in documentation?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Bug in PAD* functions? Or omission in documentation?
Divers
Thread ID:
00954748
Message ID:
00954748
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform