During the suspension of one function, another function can be executed. Thus,
if a further suspension occurred in statement 5 of function 0, which was invoked
in statement 8 of G, a display of the state indicator would be as follows:
Q c 5 ,I j(.
G I:: 8 1
1.1 c '7 :I 36
I; I:: :! 1
An SI DAMAGE error (see Chapter 11) indicates that a suspended function or
pendent function has been edited and the normal execution of the suspended
function can no longer be resumed. Therefore, when an SI DAMAGE error
occurs, the state indicator display will not include the suspended function name
(however, the asterisk is still displayed). For example, if function 0 is edited
and the modification causes an SI DAMAGE error, the display of the state
indicator would be as follows:
No suspended function name is displayed.
(3 c El :,I
I A suspension can be cleared by entering a branch with no argument (that is, +).
One suspended function is cleared at a time, along with any pendent functions
for that suspended function. The first branch clears the most recently suspended
function, as the following example shows:
1 !3 1:
I.i c 7 3
G I: 2 :I
F:' c 3 3
It is a good practice to clear suspended functions, because suspended functions
use available storage in the active workspace. Repeated use of +. clears all the
suspended functions; as the functions are cleared, they are removed (cleared) from
the state indicator. When the state indicator is completely cleared, the state indi-
cator display is a blank line.
Note: To display the state indicator with local names, enter the )SIV command
(see Local and Global Names in Chapter 6 for more information on the SIV list).
Previous Page Next Page