IBM 5110 User Manual page 57

Apl
Table of Contents

Advertisement

52
The result looks just like the previous result; however, only 2 bytes
of storage are required.
• Because each variable requires at least 12 bytes of overhead, an
array of six elements requires approximately
60
bytes ·Iess storage
than six separate variables.
• Names of 3 characters or less require 8 bytes of storage in the
symbol table (the symbol table is part of the active workspace
where the names of all the symbols, including variables,
user-defined functions, and labels, are stored). Names of 4
characters or more require an additional 8 bytes plus 1 byte for
each character in the name.
Note:
Even if an object is erased from the active workspace, the
storage used for its name will not be available for use unless the
contents of the active workspace are written to the media with a
)SAVE command and then loaded or copied back into the active
workspace.
• Identical names that are local to more than one user-defined
function do not require additional symbol-table space for each
function.
When the contents of the active workspace are written to the media
by the )90NTINUE command, and that stored workspace is loaded
into a different
5110
with a larger active workspace, the amount of
available workspace (OWA) remains the same as it was when the
contents of the active workspace were originally written to the media.
To take advantage of the additional storage in the larger active
workspace, write the contents of the active workspace to the media
using the )SAVE command, then load the stored workspace back into
the
5110.
Also, for the same reason, a workspace written to the
media by the )CONTINUE command cannot be loaded into a different
5110
with a smaller active workspace.

Advertisement

Table of Contents
loading

Table of Contents