Version 4.5.2
 —  Commands  —

OPEN-O

Description

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.

Syntax

OPEN-O filenumber path 

filenumber is a number between 1 and 4.

path is as follows:

{[[drive:]\directory\...\]filename[.extension]}

Examples

Procedure File Example

Copyscr.ncp

Variables Returned

#RC (SUCCESS if OPEN-O was successful. APPEND if the file already exists. FAILURE if OPEN-O was not successful.)

Related Commands

WRITE, CLOSE

Usage

Procedure File: Yes
Command Line: No
Key: No
API: No

Top of page