MAXFILES

Function

MAXFILES defines the maximum number of files that may be opened simultaneously.

Syntax

MAXFILES = n

Examples

MAXFILES = 4

Sets the maximum number of files that may be opened simultaneously to four.

Remarks

MAXFILES will perform a ‘CLEAR’ operation destroying all existing symbol table entries. It must therefore be defined at an early point in the program.

MAXFILES may also be used for input, for example:

100 PRINT "Maximum number of files to be opened = MAXFILES

will display:

Maximum number of files to be opened = 4

If no MAXFILES has been specified a default value of one is taken.

The maximum number of files that may be opened simultaneously is 15.