PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
This command can be used to save macros or rexx variables onto
a stack.
This is useful for recursive type applications.
[WhiteSpace]#push ["]Type["] ["]Item["] ...
The "Type" parameter is used to indicate what sort of
information is being pushed.
This should be
"MACRO" for macro values or
"REXXVAR" for rexx variables.
You may specify one or more "Item" parameters.
These are pushed (with StackPush()) onto a stack
from left to right.
The #POP command can be used to remove the items.
;---Set rexx variable and Save ---
#RexxVar RxVar = 'Demonstating overlap'
#push RexxVar RxVar
;--- Set macros and save value ---
#define FirstMacro Something1
#define SecondMacro Something2
#push macro FirstMacro SecondMacro
;--- Restore The rexx variable ---
#pop RexxVar RxVar
;--- Change Value ---
#define FirstMacro SomethingElse1
;--- Restore Values ---
#pop macro FirstMacro SecondMacro
PPWIZARD Manual

Thursday January 17 2002 at 6:27pm