Virata manual

macro

Shows or clears the macros you have defined.

What we have

  • macro list and macro drop _all

Coming later

  • macro dir, and dropping one macro by name

You may shorten it to mac.

How you write it

macro list   |   macro drop _all

Square brackets mean optional. A vertical bar means choose one.

What it does

macro list prints everything currently stored, local and global. macro drop _all empties them.

The command you reach for when a do-file is behaving as though a name holds something other than what you think it does.

Try it

. local x = 1
. macro list
                _x:  1

Nearby

set log help manual recipe display