Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

LTOC( lVar[, nFormat ] )

Purpose

Turn a logical expression into a character expression.

Arguments

     lVar -- logical variable to translate

     nFormat -- 0 = True / False.
                    1 = Yes / No.
                    default = . / " "

Setup

lVar must be a logical expression. nFormat if passed must be
numeric.

Example

     USE CUSTOMER
     @ 10, 10 SAY "Memo on file: " + LTOC( IS_FIELD( Notes ) )

Returns

Depending on nFormat, either:

          '.' / "True" / "Yes" for .T., or ;
          " " / "False" / "No" for .F.

Side Effects

None.

Artful Calls

None.

Source File

AA_LTOC.PRG

Notes

None.

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