MACROEXPAND

Synopsis
MACROEXPAND macrocall
Description

Operation that inputs Logo expression (macrocall) that invokes a macro and outputs the Logo expression into which the macro would translate the input expression.

The macrocall input must be a list that begins with the name of a macro.

Example
LOCALMAKE "load "it
SHOW MACROEXPAND [LOCALMAKE "pi 3.14159]
[local "pi apply "make [pi 3.14159]]

SourceForge.net Logo