Siebel eScript Language Reference > Methods Reference > Buffer Methods >
Cursor Position in Buffer Property
The Cursor Position in Buffer property stores the current position of the buffer cursor. Note the following:
- The value of the cursor position is always between 0 and the value that the Buffer Size property contains.
- If you use Siebel eScript to set the cursor beyond the end of a buffer, then it increases the buffer to accommodate the new position. It fills the new positions with null bytes.
- If you use Siebel eScript to set the cursor to a value that is less than 0, then it places the cursor at position 0 of the buffer.
Format
bufferVar.cursor
Example
For examples, see Get String From Buffer Method and Create Buffer Method.
|