Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00136915
Message ID:
00137475
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform