Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00136915
Message ID:
00137475
Vues:
17
Last reply had a typo....you can figure it out though...

>>I tried ALLTRIM() with a string created with STR() and everything works as expected.
>>
>>If you set a watch on TEST and ALLTRIM(TEST) and go into the command window and say TEST=STR(132), what does the debugger show you?
>>
>>
>>
>>>I'm using VFP 5.0. And when I say tried, I mean days on the debugger, step by step, setting every variable into the watch window. As soon as i used LTRIM(),
>>>it executed the way I had designed it.
>>>
> I ran that test like this:
>
>? 132
>TEST = str(132)
>trim(TEST)
>? TEST
>alltrim(TEST)
>? TEST
>ltrim(TEST)
>? TEST
>rtrim(TEST)
>? TEST
>
>I got this display
>132
>(spaces)132
>(spaces)132
>(spaces)132
>(spaces)132
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform