Input & Output Functions

CLOSECloses a text file.
EOFReturns the value indicating if the end of a file has been reached (Boolean).
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 - FunctionReturns the open stream of an Input or Binary file (String).
INPUT - StatementReads data from an open sequential field and assigns the data to a variable (Long).
LINE INPUTReads a single line from an Open sequential file and assigns it to a 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 display-formatted data to a sequential file.
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 sequential file.
CLOSE
Closes a text file.
EOF
Returns the value indicating if the end of a file has been reached (Boolean).
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
Returns the open stream of an Input or Binary file (String).
INPUT - Statement
Reads data from an open sequential field and assigns the data to a variable (Long).
LINE INPUT
Reads a single line from an Open sequential file and assigns it to a 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 display-formatted data to a sequential file.
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 sequential file.

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