Siebel eScript Language Reference > Siebel eScript Commands > Buffer Objects >

cursor Property


The current position within a buffer.

Syntax

bufferVar.cursor

Parameter
Description
Not applicable
 

Returns

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 size Property.

See Also

size Property


 Siebel eScript Language Reference 
 Published: 18 April 2003