Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I'm trying to display memo fields...
Message
 
À
08/08/2001 08:44:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00540747
Message ID:
00541506
Vues:
19
Hi Daniel,

>Frank:
>
>> Why use padr(left(myMemo,254),254) when padr(myMemo,254) will do the same thing?
>
>Because it ain't obvious from the documentation that VFP truncates the string if the specified nResultSize is less than the length of the string? What you said is true but well known.

This has been changed in the VFP7 Help:
nResultSize 
Specifies the total number of characters in the expression after it is padded. 
As you can see, VFP7 Help states that iw ill always return the same amount of characters, regardless of the LEN() of the inputstring.

Regards,
Frank Camp
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform