The ESL File I/O Library contains the subroutines shown in the following table. Be sure to include fileio.inc before using any of these. To determine whether a routine has been successful, the value of the built-in function "errorlevel" should be examined. If the routine has completed successfully then "errorlevel" will equal the constant FIO_E_ERRORFREE (value zero) as defined fileio.inc. See the individual subroutine descriptions for more information.
Subroutine Name  | 
Operation  | 
|---|---|
Close a file.  | 
|
Create a directory.  | 
|
Delete a specified file.  | 
|
Import a files into a string converting each byte into a Hexadecimal pair.  | 
|
Set a string variable to an error message.  | 
|
Obtain the absolute Path of a file.  | 
|
Set a string variable to the time and date the file was modified.  | 
|
Generate a unique file name for a specified directory.  | 
|
Determine the location of the temporary directory.  | 
|
Create a binary file from a string contain Hexadecimal characters.  | 
|
Determine if a specified file is a directory.  | 
|
List the files in a directory.  | 
|
Open a file.  | 
|
Read a line from a file into a string variable.  | 
|
Read the next line from a file into a variable.  | 
|
Read the next line from a file into a record.  | 
|
Read a line from a file into a record.  | 
|
Delete a specified directory.  | 
|
Change the size of the I/O buffer.  | 
|
Change the I/O index buffer size.  | 
|
Define the number of columns between tab stops.  | 
|
Change the code page conversion tables used to process EBCDIC files.  | 
|
Output a single byte value to a file.  | 
|
Output the variables specified by a record definition to a file.  | 
|
Output a string value to a file.  | 
|
Output a 16 bit word value to a file.  |