Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >
Clib.memset() Method
This method fills a specified number of bytes in a buffer with a specified character.
Syntax
Clib.memset(bufferVar, char[, length])
Parameter Description bufferVar A buffer or a variable containing a buffer char The character to fill the buffer with length The number of bytes in which char is to be writtenReturns
Not applicable
Usage
This method fills a buffer with length bytes of char. If the buffer has not already been defined, it is created as a buffer of length bytes. If bufferVar is shorter than length, its size is increased to length. If length is not supplied, it defaults to the size of bufferVar, starting at index 0.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |