TEXT_IO.NEW_LINE
built-in procedureThis 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.
PROCEDURE TEXT_IO.NEW_LINE
(file file_type,
n PLS_INTEGER := 1);
PROCEDURE TEXT_IO.NEW_LINE
(n PLS_INTEGER := 1);
Parameter |
Description |
|
A variable that specifies an open file. |
|
An integer. |
/*
** 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);
About the TEXT_IO
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.