Open a file into which data are written (output file).
The file is available across all nested procedure files. You can, for
example, issue the WRITE
command from more than one
procedure file.
If you write to an exisiting file, the new data are appended to this file.
OPEN-O filenumber path
filenumber is a number between 1 and 4.
path is as follows:
{[[drive:]\directory\...\]filename[.extension]}
Open Test.ncp as output file 1:
OPEN-O 1 Test.ncp
Open the file defined by the variable
#FILESPEC
as output file 2:
OPEN-O 2 #FILESPEC
Copyscr.ncp
#RC
(SUCCESS
if
OPEN-O
was successful. APPEND
if the
file already exists. FAILURE
if OPEN-O
was not successful.)
Procedure File: | Yes |
Command Line: | No |
Key: | No |
API: | No |