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

TEXT_IO.NEW_LINE built-in procedure

This procedure concatenates the specified number of newline characters (that is, carriage returns) to the current line of an open file, or outputs them to the Interpreter. The default is 1, that is, if you specify no number (for example, TEXT_IO.NEW_LINE;) a single newline character is created.

Syntax


PROCEDURE TEXT_IO.NEW_LINE
(file file_type,
n PLS_INTEGER := 1);

PROCEDURE TEXT_IO.NEW_LINE
(n PLS_INTEGER := 1);

Parameters

Parameter

Description

file

A variable that specifies an open file.

n

An integer.

Example


 /*
  ** Write a string to the output file, then 
  ** create a newline after it.
 */
  TEXT_IO.PUT(out_file, SYSDATE);
  TEXT_IO.NEW_LINE(out_file, 2);

See also

About the TEXT_IO built-in package

TEXT_IO built-in package