Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CAST() A String To A Bool
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01269594
Message ID:
01269596
Views:
10
It does if you remove quotes. I guess the string "1" is not equivalent to .T.

>Why doesn't this return .T.?
>
>
>? CAST("1" AS Logical)
>
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform