PROCEDURE PSAM/DAPDB Commands PROCEDURE
NAME
procedure - select a procedure
SYNOPSIS
procedure [ <procedure_name> ]
DESCRIPTION
The procedure command selects a procedure from the current
DAP program. If no argument is supplied the name of the
currently selected procedure is displayed.
The selected procedure is the current procedure for the
attributes, code, print and stopi commands. The procedures
which can be selected are not restricted to those currently
on the stack; however the attributes and print commands can
only give information for local variables in on-stack pro-
cedures. If an off-stack procedure is selected the following
message is displayed:
Warning: Not an active procedure
If the selected procedure is a FORTRAN-PLUS procedure and if
the relevant diagnostic information is available then the
file in which the procedure is defined is selected. Further-
more, if the FORTRAN-PLUS procedure is currently on the
stack the current line is set to the currently executing
line in that procedure. If the FORTRAN-PLUS procedure is not
currently on the stack the current line is set to 1.
If the selected procedure is an APAL or CPAL procedure the
current instruction is set to 0.
SEE ALSO
attributes, code, file, list, print, stopi
AMT Release 4.1S Last change: 8th January 1991 1