State Indicator - IBM 5110 User Manual

Apl
Table of Contents

Advertisement

156
STATE INDICATOR
The state indicator identifies which functions are suspended
(*)
and at
what point normal execution can be resumed. Entering )SI causes a
display of the state indicator. Such a display might have the following
form:
)SI
H[7J
.)(.
G[2::1
Ft::3]
This display indicates that execution was halted just before statement
7 of function H, that the current use of function H was invoked in
statoment 2 of function G, and that the use of function G was invoked
in statement 3 of F. The
*
appearing to the right of H[7] indicates that
function H is suspended; the functions G and F are said to be
pendent.
During the suspension of one function, another function can be
executed. Thus, if a further suspension occurred in statement 5 of
function
a,
which was invoked in statement 8 of G, a display of the
state indicator would be as follows:
)SI
(~
I:
~.:;
J
.)(.
G[B::I
H[7J
.)(.
G[::,~::t
F[:'5:J
An SI DAMAGE error indicates that a suspended function has been
edited or a pendent function has been erased and the normal
execution of the suspended function can no longer be resumed. When
an SI DAMAGE error occurs, the state indicator display will include the
damaged function name and the statement number -1. For example, if
function
a
is edited and the modification causes an SI DAMAGE error,
the display of the state indicator would be as follows:
)SI
(~I::
... : 1 . ::I
~(.
GI::D]
H[7J
.)(.
G I::
::,~::t
Ft::3::1

Advertisement

Table of Contents
loading

Table of Contents