Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why am I getting a logical instead of a number
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00761511
Message ID:
00761571
Views:
34
See Sergey's reply

>Matthew,
>
>>I had the "?" in for output to the screen while I tested the code. Yesterday it spit numeric amounts to the screen.
>>
>
>I don't see how...it would display do a comparison between the left and right side of the "=", and return true if they are equal.
>
>Try this in your command window:
>
>
>x = 5
>? x = x       && shows true
>? x = x + 1   && shows false
>? x           && shows 5...x was not changed by previous line
>
Opportunity is missed by most people beacuse it is dressed in overalls, and looks like work --- Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform