Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >
Clib.fputc() Method and Clib.putc() Method
These methods write a character, converted to a byte, to the specified file. Syntax
Clib.fputc(char, filePointer) Clib.putc(char, filePointer)
|
|
char |
A one-character string or a variable holding a single character |
filePointer |
A file pointer as returned by Clib.fopen() |
Returns
If successful, char; otherwise, EOF. Usage
These methods write a single character to the file indicated by filePointer. If char is a string, the first character of the string is written to the file indicated by filePointer. If char is a number, the character corresponding to its Unicode value is written to the file. See Also
Clib.fgetc() Method and Clib.getc() Method Clib.fputs() Method
|