Table of Contents
info command includes a set of
subcommands that will provide all the info you could want about a
proc. These subcommands will return the body of a proc, the
arguments to the proc, and the value of any default arguments.
These subcommands can be used to:
Access the contents of a proc in a debugger.
Generate custom procs from a template.
Report default values while prompting for input.
Info commands that return information about a proc
info args
procnameReturns a list of the names of the arguments to the procedure
procname.
info body
procnameReturns the body of the procedure
procname.
info default procname arg
varNameReturns 1 if the argument
arg in
procedure
procName has a default, and sets
varName to the default. Otherwise, returns
0.