Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command to read logical data type as Character
Message
 
To
13/11/2006 08:29:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01169130
Message ID:
01169131
Views:
9
>Is there a command to return the character equivalent of a specified logical expression? Just like the STR() command to return the character equivalent of a specified numeric expression.

You didn't say which version of VFP you are using,
in VFP6 I think the way to do it would be:
cRet = iif( type("variable") = "L", "T", "F" )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform