Siebel eScript Language Reference > Siebel eScript Commands > Buffer Object Properties >

cursor Property


The current position within a buffer.

Syntax

bufferVar.cursor

Parameter
Description

Not applicable

 

Usage

The value of cursor is always between 0 and the value set in the size property. A value can be assigned to this property.

If the cursor is set beyond the end of a buffer, the buffer is extended to accommodate the new position and filled with null bytes. Setting the cursor to a value less than 0 places the cursor at the beginning of the buffer, position 0.

Example

For examples, read getString() Method and subBuffer() Method.

See Also

subBuffer() Method

Siebel eScript Language Reference