OPEN

From QB64 Wiki
Revision as of 01:58, 28 August 2009 by 72.95.147.221 (talk)
Jump to navigation Jump to search

OPEN is used to open a file, serial or LPT port.

Open can use 5 different modes:

 OUTPUT: Creates a new file or erases an existing file for program output
 APPEND: Creates a new file or appends data output to an existing file
 BINARY: Creates a new file or uses input and output from an existing file
 RANDOM: Creates a new file or uses input and output from an existing file
 INPUT : Only reads input from an existing file