File I/O

Close

Close one or more files

Eof

Determine if the end-of-file has been reached

FreeFile

Return the next available file number

Get

Read data from a random or binary file

Input#

Read data from a sequential file into variables

Input, Input$

Read a specified number of bytes from a file

Line Input #

Read a line of text from a sequential file

Loc

Return the record position of the file pointer within a file

Lock

Lock a section of a file

Lof

Return the number of bytes in an open file

Open

Open a file for reading or writing

Print #

Print data to a file

Put

Write data to a binary or random file

Reset

Close all open files

Seek

Return the byte position of the file pointer within a file

Seek

Set the byte position of the file pointer which a file

UnLock

Unlock part of a file

Width#

Specify the line width for sequential files

Write #

Write data to a sequential file

More information

Language elements by category