Help Center
Help CenterFreeBASIC

File I/O Functions

33 entries across 1 topic.

Topics

All entries

Procedures 33

(Print | ?) #Writes a list of values to a file or deviceAccessClause of the Open statement to specify requested privilegesAppendSpecifies text file to be opened for append modeBinarySpecifies file or device to be opened for binary modeCloseStream I/O function to terminate access to a deviceEncodingSpecifies character format of a text fileEOFChecks to see if the end of an open file has been reachedFreeFileReturns a free file numberGetReads data from a file to a bufferInputSpecifies text file to be opened for input modeInput #Reads a list of values from a text fileLine Input #Reads one line of text from a fileLOCReturns the file position where the last file read/write was performedLockRestricts read/write access to a file or portion of a fileLOFReturns the length of an open disk fileOpenOpens a disk file for reading or writing using file operationsOpen ComOpens a serial port for input and output, using it as if it were file operations.Open ConsOpens the console's standard input (stdin) or output (stdout) streams, using it as if it were file operations.Open ErrOpens both the standard input (stdin) and standard error (stderr) streams, using it as if it were file operations.Open LptOpen a printer device, using it as if it were file operations.Open PipeOpens an external process' standard input (stdin) or output (stdout) stream, using it as if it were file operations.Open ScrnOpens the screen directly for input and output, using it as if it were file operations.OutputSpecifies text file to be opened for output modePutWrites data from a buffer to a fileRandomSpecifies file or device to be opened for random access modeReadFile access specifierRead WriteFile access specifierResetCloses all open files, or resets standard I/O handles.SeekGets the position of the next read/write operation for a file or deviceSeekSets the position of the next read/write operation on a fileUnlockRemoves a previous access restriction (lock) on a fileWriteFile access specifierWrite #Outputs a comma-separated list of values to a text file or device