Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >
Clib.memcpy() Method and Clib.memmove() Method
These methods copy a specified number of bytes from one buffer to another.
Syntax
Clib.memcpy(destBuf, srcBuf[, length])
Clib.memmove(destBuf, srcBuf[, length])
Parameter Description destBuf The buffer to copy to srcBuf The buffer to copy from length The number of bytes to copyReturns
Not applicable
Usage
These methods copy the number of bytes specified by length from srcBuf to destBuf. If destBuf has not already been defined, it is created as a buffer. If the length is not supplied, the entire contents of srcBuf are copied to destBuf.
Siebel eScript protects data from being overwritten; therefore, in Siebel eScript Clib.memcpy() method is the same as Clib.memmove().
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |