Input & Output Functions

CLOSECloses a text file or CSV file.
EOFReturns the value indicating if the end of a file has been reached (Boolean).
FILEATTRReturns the file mode of the specified open file (Long).
FREEFILEReturns the next valid free file number (Integer).
GETReads data from a text file into a record.
IMESTATUSReturns the current Input Method Editor mode of Microsoft Windows (Integer).
INPUT - FunctionReads a number of characters from a file (String).
INPUT - StatementReads data from a file and assigns the data to a list of variables (Long).
LINE INPUTReads a single line from a file opened with Sequential access (String).
LOCReturns the current read/write position within an open file (Long).
LOFReturns the length or size of an open file, in bytes (Long).
OPENOpens a text file or CSV file.
PRINTWrites data to a file opened with Sequential access (display-formatted).
PUTWrites data from a record into a text file.
RESETCloses all files open with the Open statement.
SEEK - FunctionReturns the current read/write position within a file opened using the Open statement (Long).
SEEK - StatementRepositions where the next operation in a file will occur.
SPCInserts a specified number (n) of spaces when writing or displaying text.
TABUsed with the Print # statement or the Print method to position output.
WIDTHAssigns an output line width (characters) for the open file.
WRITEWrites data to a file opened with Sequential access.
CLOSE
Closes a text file or CSV file.
EOF
Returns the value indicating if the end of a file has been reached (Boolean).
FILEATTR
Returns the file mode of the specified open file (Long).
FREEFILE
Returns the next valid free file number (Integer).
GET
Reads data from a text file into a record.
IMESTATUS
Returns the current Input Method Editor mode of Microsoft Windows (Integer).
INPUT - Function
Reads a number of characters from a file (String).
INPUT - Statement
Reads data from a file and assigns the data to a list of variables (Long).
LINE INPUT
Reads a single line from a file opened with Sequential access (String).
LOC
Returns the current read/write position within an open file (Long).
LOF
Returns the length or size of an open file, in bytes (Long).
OPEN
Opens a text file or CSV file.
PRINT
Writes data to a file opened with Sequential access (display-formatted).
PUT
Writes data from a record into a text file.
RESET
Closes all files open with the Open statement.
SEEK - Function
Returns the current read/write position within a file opened using the Open statement (Long).
SEEK - Statement
Repositions where the next operation in a file will occur.
SPC
Inserts a specified number (n) of spaces when writing or displaying text.
TAB
Used with the Print # statement or the Print method to position output.
WIDTH
Assigns an output line width (characters) for the open file.
WRITE
Writes data to a file opened with Sequential access.

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top