Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

Clib.fputs() Method


This method writes a string to a specified file.

Syntax

Clib.fputs(string, filePointer)

Parameter
Description
string
A string literal or a variable containing a string
filePointer
A file pointer as returned by Clib.fopen()

Returns

EOF if a write error occurs; otherwise, a non-negative value.

Usage

This method writes the value of string to the file indicated by filePointer.

Example

For an example, read Clib.fgets() Method.

See Also

Clib.fgets() Method and Clib.fputc() Method and Clib.putc() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003