System Debug Reference Manual (32650-90888)

408 Chapter10
System Debug Standard Functions
func macbody
Limitations, Restrictions
none
func macbody
Returns a string that is the macro body for the specified macro name.
Syntax
macbody (
macroname
)
Formal Declaration
macbody:str (
macroname
:str)
Parameters
macroname
The name of the macro whose body is to be returned.
Examples
$nmdebug > wl macbody("showtime")
wl time
Display the macro body for the macro command named showtime.
$nmdebug > wl macbody("min")
if p1 <= p2 then return p1 else return p2
Display the macro body for the macro function named min.
Limitations, Restrictions
none
func mapindex
Returns the map index number of the specified file name which has been previously
mapped into virtual space with the MAP command.
Syntax
mapindex (
filename
)