The ICLEAIR Command
14
The )CLEAR command clears the active workspace and closes all open files. A
cleared 'workspace has no valid name, contains no user-defined variables or functions,
and no data. The workspace attributes are set to:
IndeK origin -1
Worbspace identification - CLEAR WS
Comparison tolerance - 1E-13
Printing width - 64
Printing precision -5
Random number seed - 16807
Data1 printed - ALL
When the command is successfully completed, CLEAR WS is displayed.
Syntax
There are no parameters.
The ICONltINUE Command
The )CONTINUE command writes the contents of the active workspace onto
tape without changing the contents of the active workspace. This command is
primarily used when the entire stored workspace is to be loaded back into the
active workspace. Workspaces are stored and loaded back into the active work-
space fister using the )CONTINUE command than using the )SAVE command.
When the command is successfully completed, CONTiNUED device/file number
workspace ID is displayed.
Notes:
1. A cl4ar workspace cannot be written on tape.
2. A wbrkspace with suspended functions can only be written on tape using the
)COhTINUE command (it cannot be written to tape using the )SAVE com-
mand).
3. )CORY and )PCOPY commands cannot specify stored workspaces that were
written on tape using the )CONTINUE command.
4. A stQred workspace written to tape using the )CONTINUE command cannot be
loaded into a 5100 active workspace that is smaller than the original active
worlqspace.
5. If a Stored workspace that was written to tape using the )CONTINUE command
is loaded into another 5100 with a larger active workspace, the workspace
available (see the IJWA system variable in Chapter 5) is the same as when the
worKspace was written to tape.
interrupted and the file is set to unused.
6. If AfTN is pressed during a )CONTINUE operation, the system operation is
I _-.
__--
I I
Syntax
)CONTINUE [device/file number1 [workspace ID1 [:password1
where:
device/file number (optional) is the number of the tape unit and file on the
tape where the contents of the active workspace are to be written. If no de-
vice/file number is specified, the device/file number from which the active
workspace was loaded or specified by a previous IWSID command is used.
worksoace ID (optional) is the name of the workspace to be stored. This
name must match the workspace ID of both the active workspace and the
file to be used on the tape, unless the file is marked unused. If the file is
marked unused, the active workspace ID and tape file workspace ID are changed
to this workspace ID. If no name is specified in the command, the name of
the active workspace is used.
:password (optional) is any combination of up to eight alphabetic or numeric
characters (without blanks), preceded by a colon. This sequence of characters
must be matched when the stored workspace is to be read back into the active
workspace. If no workspace ID or password is entered, the password associa-
ted with the active workspace (if any) is assigned to the workspace being
stored. If just the workspace ID and no password is entered, any password associated
with the active workspace is not used.
The )COPY Command
The )COPY command copies all or specified global objects from a stored work-
space to the active workspace. Only objects in stored workspaces that were
written on tape with the )SAVE command can be copied. When the command
is successfully completed, COPIED device/file number worksoace ID is displayed.
Notes:
1. If the active workspace contains suspended functions, objects cannot be copied
into it.
2. If the ATTN key is pressed during a )COPY operation, the system operation is
interrupted and the amount of information copied into the active workspace
is unpredictable.
Syntax
)COPY device/file number workmace, ID :nassword [obiect name(s)]
where:
device/file number is the number of the tape unit and workspace file the ob-
jects are copied from.
workmace ID is the name of the stored workspace on tape.
15
Previous Page Next Page