mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-20 20:55:13 +00:00
LINE INPUT will now use the faster method if passed a file handle that has been opened FOR BINARY. As such, the _BLINEINPUT command has been removed. qb64.bas now takes advantage of this for reading from '$include files, at least in Include Manager 1. Some tweaking of internal/source/main.txt was required to get things into a sane state, so I'm holing off changing the compiler any further so the auto-builder can make sure everything's smoothed over. Note: Everything should still compile as normal; I'm just being overcautious.
18 lines
550 B
Plaintext
18 lines
550 B
Plaintext
The '''FREEFILE''' function returns an unused file access number.
|
|
|
|
|
|
{{PageSyntax}}
|
|
:: file1% = FREEFILE
|
|
|
|
|
|
* FREEFILE values should be given to unique variables so that each file has a specific variable value assigned to it.
|
|
* The file number variable can later be used to read, write or [[CLOSE]] that file.
|
|
* [[OPEN]] each file number after each FREEFILE return or the values returned may be the same!
|
|
* [[OPEN COM]] statements cannot use any number assigned to files already OPEN!
|
|
|
|
|
|
''See also:''
|
|
* [[GET]], [[PUT]], [[CLOSE]]
|
|
|
|
|
|
{{PageNavigation}} |