Information Provided About The Active Workspace - IBM 5110 User Manual

Apl
Table of Contents

Advertisement

48
INFORMATION PROVIDED ABOUT THE ACTIVE WORKSPACE
You can get information about the active workspace by simply
entering certain system commands, system variables, or system
functions without specifying any parameters or arguments. The
system commands that provide information about the active
workspace are:
System Command
)SYMBOLS
)WSID
)FNS
)VARS
)SI
)SINL
Information Provided
How many symbols are allowed
and how many symbols are
currently being used. (The symbols
consist of labels, variable names,
user-defined function names, and
any system variables and functions
that have been used.)
The current workspace I D and
device/file number. This
information specifies where the
active workspace is stored when a
)SAVE or )CONTINUE command is used.
(When a stored workspace is loaded
into the active workspace, the
workspace ID and device/file
number of the stored workspace
is assigned to the active workspace.)
The name of the user-defined
functions in the active workspace.
The names of the variables in the
active workspace.
The names of any suspended functions and
the statement number where each
function is suspended. For example:
) B I
Y
Statement 2 of th is fu nction
FUNCT I
[)Nf~
I::
!.:.:j::l
-)(-
called FUNCTIONA.
FI...INCTIDNB[2::1
FUNCTIONCI::6::1
~-..--Statement
Number
t
Function Name
The
*
(asterisk) indicates the suspended
functions. The functions without an
asterisk are functions (called pendent
functions) that called the previous
function.
The same information as the )SI command
plus the names local to each function.

Advertisement

Table of Contents
loading

Table of Contents