Sybernet / Supplied Procedures Reference
Release 3.00
JUL 18, 2006
backwards forwards

HTTP.PRINTF

The printf() function places output on the standard output stream by calling HTTP.HTTP_BUFFER.

The format (FMT) is composed of zero or more directives: ordinary characters, which are simply copied to the output stream and conversion specifications, each of which results in the fetching of zero or more arguments. The results are undefined if there are insufficient arguments for the format. If the format is exhausted while arguments remain, the excess arguments are evaluated but are otherwise ignored.

Patterned after its C namesake, the reader should refer to its man page for further documentation.

Syntax

Procedure PRINTF
(
    FMT                       IN  VARCHAR2
,   ...                       IN  VARCHAR2
)   ;

Parameters

Parameter Description
fmt
 
Format.
...
 
Zero or more parameters.

Example

The following block illustrates how to call printf:

begin
    http.printf('%s\n','Hello World');
end;


See Also

HTTP_BUFFER
FPRINTF
SPRINTF



Sybernet is a trademark of SRI International.
Copyright © 1996-2009 SRI International. All Rights Reserved.
Denis D. Workman / http://Sybernet.sri.com/