P. 1
Oracle Forms

Oracle Forms

|Views: 379|Likes:
Published by torresalazar

More info:

Published by: torresalazar on Oct 20, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/23/2013

pdf

text

original

Description Concatenates the supplied data to the current line of an open file, or
outputs it to the Interpreter. Notice that there are several Text_IO.Put procedures,
which accept VARCHAR2, DATE, NUMBER, and PLS_INTEGER values for item. All
of the procedures (except VARCHAR2) convert the supplied data to a character string.
No newline character (i.e., carriage return) Added.

Syntax

PROCEDURE Text_IO.Put
(file file_type,
item VARCHAR2);

PROCEDURE Text_IO.Put
(item VARCHAR2);

PROCEDURE Text_IO.Put
(item DATE);

PROCEDURE Text_IO.Put
(file file_type,
item DATE);

PROCEDURE Text_IO.Put
(file file_type,
item NUMBER);

PROCEDURE Text_IO.Put
(item NUMBER);

PROCEDURE Text_IO.Put
(file file_type,
item PLS_INTEGER);

PROCEDURE Text_IO.Put
(item PLS_INTEGER);

Parameters

file

A variable that specifies an open file.

item

A variable to be used as a buffer.

Forms Developer and Reports Developer Built-in Package Reference

135

Text_IO.Put example

/*

** Write a line to a specified output file, create
** a newline, then write another line to the output
** file.
*/
Text_IO.Put(out_file, SYSDATE);
Text_IO.New_Line(out_file);
Text_IO.Put('Processing ends...');

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->