RWRF W
255
RWRF W — [Read/Write Resource File] Write data
to external device (API program)
Format
RWRF W, medium, "API", program-type, prescribe-command-name, API-
program-start-function-name, file-name;
Parameters
medium:
0 = hard disk
A = memory card
program-type:
"PRE" prescribe command
prescribe-command-name:
ASCII text string up to 4 bytes
API-program-start-function-name:
ASCII text string up to 31 bytes
Cannot be omitted.
file-name:
ASCII text string up to 15 bytes
Automatically set by the system if omitted.
Function
The RWRF W command writes data to an external device such as the hard disk.
The number of writable files, which is not limited, depends on the capacity of the
external media. If the device runs out of free space during saving, the remaining data will
be discarded.
Duplicating a file name causes the system to rename the specified one and save data
(without overwriting data).
Example:
Write and register the FILT prescribe command.
!R! RWEF W , 0 , "API" , "PRE" , "FILT" ,
"apl_main";[Program Data]WRED; EXIT;