QBasic 1.1: FREEFILE Function

Syntax

FREEFILE

Example

OPEN "TEST.DAT" FOR OUTPUT AS #1 PRINT "Next file number: "; FREEFILE CLOSE