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:
00137469
Views:
13
>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
Perry E. Chrzanowski
Programmer/Analyst
Saturn (Solutions) Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform