basic.%open.apdos C Function/BASIC Program

basic.%open.apdos

Command basic.%open.apdos C Function/BASIC Program
Applicable release versions: AP/DOS
Category BASIC Program (486)
Description opens an existing MS-DOS file or creates a new MS-DOS file specified by "file.name" with the specified "fflgs" and "eflgs".

Valid "fflgs" and "eflgs" are defined in the item 'dm,bp,dos fcntl.h'. For additional information refer to the MS-C library reference manual for OPEN().

Should an error condition occur during this C function, the "system(0)" function contains the associated error message number.
Syntax file.handle=%open( file.name, fflgs, eflgs )
Options
Example
Purpose
Related basic.cfunc
basic.cfunction
basic.system