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

IS_DEF( cName )

Purpose

Verify that a variable has been initialised, or that a function is linked
in.

Arguments

     cName -- name of entity to check

Setup

Remember to pass in the name of the variable or the function to check as a
character literal or variable (ie. pass it in quotes, as shown in the
examples below).

Example

     PRIVATE _var = .F.
     ? IS_DEF( "_var"  )          && Returns .T.
     ? IS_DEF( "THE_USUAL()" )    && Returns .T.
     ? IS_DEF( "X!@#$%()" )       && Returns .F.

Returns

.T. if cName is a variable that has been initialised or a function that
has been linked in, else .F.

Side Effects

Crash if a non-existent variable is passed without quotes.

Artful Calls

None.

Source File

ARTFUL.CH

See Also: UNDEF() IS_LINKED()

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