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

TEXT_IO.PUT_LINE built-in procedure

This procedure concatenates the character data supplied by item to the current line of an open file, or outputs it to the Interpreter. A newline character (that is, carriage return) is automatically added to the end of the string.

Syntax


PROCEDURE TEXT_IO.PUT_LINE
(file file_type,
item VARCHAR2);

Parameters

Parameter

Description

file

A variable that specifies an open file.

item

A variable that specifies the character data to be displayed.

Example


 /*
  ** Print two complete lines to the output file.
  */
  TEXT_IO.PUT_LINE(out_file, TO_CHAR(SYSDATE));
  TEXT_IO.PUT_LINE('Starting test procedures...');

See also

About the TEXT_IO built-in package

TEXT_IO built-in package