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

MACRO( pName [, lBool ] )

Purpose

Convenient macro expansion of awkward items, such as array elements.

Arguments

     pName -- item to macro

     lBool -- if passed, whether to pop a message if pName is
                  undefined; default is .T.

Setup

None.

Example

     LOCAL udfs[1] = "qty * price"
     PRIVATE qty := 6, price := 12.50
     ? MACRO( udfs[1] )               && Returns 75.00

Returns

The result of macro-expanding pName.

Side Effects

Optionally, a message popped on error.

Artful Calls

None.

Source File

AA_MACRO.PRG

See Also: MACROBLOCK() AAEXECUTE()

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