A script-enabled browser is required for this page to function properly.

About the TEXT_IO built-in package

The TEXT_IO built-in package contains constructs that provide ways to write and read information to and from files. There are several procedures and functions available in TEXT_IO, falling into the following categories:

file operations

The FILE_TYPE record, the FOPEN and IS_OPEN functions, and the FCLOSE procedure enable you to define FILE_TYPE variables, open files, check for open files, and close open files, respectively.

output (write) operations

The PUT, PUTF, PUT_LINE, and NEW_LINE procedures enable you to write information to an open file or output it to the Interpreter.

input (read) operations

The GET_LINE procedure enables you to read a line from an open file.

See also

TEXT_IO built-in package

TEXT_IO built-in package examples

About built-in packages