Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Global Object >
ToBytes() Method
This function places its parameter in a buffer.
Syntax
ToBytes(value)
Returns
Not applicable
Usage
This function transfers the raw data represented by value to a buffer. The raw transfer does not convert Unicode values to corresponding ASCII values. Thus, for example, the Unicode string
Hit
would be stored as\OH\Oi\Ot
, that is, as the hexadecimal sequence00 48 00 69 00 74
.CAUTION: The ToBytes() function is unique to Siebel eScript. Avoid using it in a script that may be used with a JavaScript interpreter that does not support it.
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |