BASIC, pre-objects, I/O , , , . , . , API Windows, BASIC .
, - :
OPEN #1, "path\to\file"
PRINT #1, "Stuff I want in the file"
CLOSE #1
, , ..
, , .., . , , - , , , .
FreeFile - VB . FreeFile , , . :
I = 0
WHILE ALREADYOPEN(#I)
I = I + 1
WEND
OPEN #I, "path\to\file"
PRINT #I, "stuff to go into file"
CLOSE #I
FreeFile , , , , , . I/O : , , / .