APLX Help : Help on APL language : System Commands : )OUT Export to transfer file
|
|
![]() |
|
Creates a Transfer File in the library specified. If no individual objects are named then the Transfer File will include all functions, operators and variables in the workspace as well as )WSID (Sample workspace) TEST )VARS A B C D )FNS FRED JOE )OUT TESTWS (Export everything, including standard system variables) )OUT PARTWS A C FRED ⎕PP ⎕PW (Partial export only) The Transfer File is written in a format which can be read using the system command Library specification and path namesThere are two different ways in which you can specify where APLX should save the transfer file:
See the description of the Transfer file formatThe Transfer File format is based on an ancient layout known as punched card layout and is a series of length 80 character records. Each record is delimited by an 'end of record' character (Hex F8) and a Carriage Return Character Meaning * Timestamp for the function or operator X Last record for the object (or only record) (blank) All other records Remaining columns of the record are occupied by the Transfer Form of the objects selected. The Transfer Form is described under XN⎕PP 0 10 X XN⎕IO 0 1 X XN⎕CT 0 1E¯13 X XC⎕FC 1 6 .,*0- X XN⎕RL 0 16807 X XC⎕PR 1 1 X XC⎕LX 1 0 X XNA 0 1 X XNB 0 2 X XNC 0 3 X XND 0 4 X XFFRED ⎕FX 'FRED' '2' X XFJOE ⎕FX 'JOE' '4' 'L:''SAMPLE FN''' '80' X and for the partial export: XNA 0 1 X XNC 0 3 X XFFRED ⎕FX 'FRED' '2' X XN⎕PP 0 10 X XN⎕PW 0 80 X |
|
APLX Help : Help on APL language : System Commands : )OUT Export to transfer file
|
Copyright © 1996-2010 MicroAPL Ltd