macrotrace

Format: macrotrace

Prints the stack of all presently executing macro commands. For example, with the following macros:

define a1() {return a2();}
define a2() {return a3();}
define a3() {macrotrace; return 42;}

then the following would be output if you enter a1():

0 a3()
1 a2()
2 a1()
42

See also define.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.