MAXFILES
Contents |
Effect
Determines the maximum of files that can be opened simultaneously with the OPEN instruction.
Syntax
MAXFILES=<Maximum>
Parameter
<Maximum> is a number between 0 and 15.
Note that the maximum of files that can be opened at the same time can't exceed 6 on a disk and 2 on a QuickDisk. When computer is started the default value is 1.
Example
10 MAXFILES=2 20 OPEN "CAS:DEMO" FOR INPUT AS #1 30 OPEN "LPT:" FOR OUTPUT AS #2 40 INPUT #1,A$ 50 PRINT #2,A$
Related to
Compatibility
MSX-BASIC 1.0 or higher