Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>ltoc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LTOC()
 Converts a logical value into a character
------------------------------------------------------------------------------
 Syntax

     LTOC([<lValue>]) --> cCharacter

 Argument

     <lValue>  Designates the logical value that is converted. The
     default value is .F..

 Returns

     The character returned corresponds to the logical value specified in the
     parameter.

 Description

     In contrast to the LTON() function, which converts a logical value into
     a number, LTOC() returns a value for the type character string.  This
     can be particularly helpful with combined index keys.

 Examples

     .  Without parameters, .F. is assumed:

        ? LTOC()               // "F"

     .  Return a letter that corresponds to the specified logical
        value:

        ? LTOC(.F.)            // "F"

        ? LTOC(.T.)            // "T"

     .  Other functions can return the logical value:

        ? LTOC(DELETED())      // "T" or "F"


See Also: LTON()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson