Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STR for logical field?
Message
 
To
30/03/2001 16:41:03
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00490356
Message ID:
00490691
Views:
11
>>>>How to put logical into text? I forgot, sorry to ask. (sample: text+STR(numeric)+STR(logical)?)
>>>>
>>>>Chuck
>>>
>>>Transform() will do it. However, unlike Bill's suggestion, this gives you the periods around the value and you may not want this.
>>
>>And better yet, with Bill's suggestion you can return any value for the logical you want. IE .t. = "Yes" .f. = "No" or .t. = "True" .f. = "False" etc.
>
>Hmm, isn't there a functin called EVALUATE that will return T for .T. and F for .F. ???

Evaluate returns .F. or .T. as the result of a logical expression (almost a form of macro substitution).
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Reply
Map
View

Click here to load this message in the networking platform