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

TEXT_IO.New_Line

Description

Concatenates the specified number of newline characters (i.e., 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 (e.g., 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);