Getting Data Into The Active Workspace - IBM 5110 User Manual

Apl
Table of Contents

Advertisement

44
4.
Copy the stored workspace into the active workspace using the
}COPV command. Using the }COPV command does not affect the
number of symbols allowed in the active workspace. The }COPV
command is discussed later in this chapter.
The workspace identification specifies the device/file number and file
10 where the contents of the active workspace are stored when a
)SAVE or }CONTINUE command is issued. The )WSIO command can
be used to change the device/file number and file 10 where the
contents of the active workspace is to be stored. For example:
) LDAD :1.:1. 0 0:1.
D(:lT~~l
LOADED ,11. 00:1. DATA,
_, _ _ _ _ _ _ _ This device file number and file ID is now
)
~J8ID
:1.200:1. TEBT
associated with the active workspace.
WAS :1.:1.00:1.
DATA~
)SAVE
SAVED :1.2001 TEST
Change the workspace identification.
Now, when the )SAVE [or )CONTINUE]
command is issued, the contents of the
active workspace are written to the new file.
GETTING DATA INTO THE ACTIVE WORKSPACE
You can get data into the active workspace by entering the data from
the keyboard or reading the data from a tape or diskette file. You read
data from a tape or diskette file using an APL shared variable or one
of the following system commands:
• )LOAO
. 1
)RESUME
• )COPV
.' )PCOPV
• )PROC
See Chapter 10,
Input/Output Control,
for information on reading data
using APL shared variables. The system commands used for re.ading
data into the active workspace are discussed next.

Advertisement

Table of Contents
loading

Table of Contents