Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>ltoc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LTOC()

Syntax:     LTOC([<expL>])

Arguments:  <expL> is the logical value to be converted.

Returns:    A character string.
            The character representation of the logical argument passed.

Usage:      Whereas the function LTON() converts a logical value into a
            number, LTOC() will return a string.  This can be particularly
            helpful in combined index keys.

Notes:      If no <expL> argument is passed, the function will return "F".

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Without argument assume .F.
            ? LTOC()                            && "F"

            * Supplies a letter corresponding to the
            * logical value indicated.
            ? LTOC(.F.)                         && "F"
            ? LTOC(.T.)                         && "T"

            * It is possible for other functions to supply
            * the logical argument.
            ? LTOC(DELETED())                   && "T" or "F"



See Also: LTON()

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