Function: sbox

Syntax

sbox ({<cursor>})

Type

numeric

Returns

A screen rectangle read via an interactive rubber box operation. Four values are returned, (x,y,x,y). Screen coordinates run from left to right, and top to bottom.

The initial mouse operation permits the user to define the corner of the box, the subsequent operation permits the user to define the rest of the rectangle via a rubber box.

Parameters

Examples

Use the default cursor.

numeric mbr[] = sbox

Use a "hand" cursor.

numeric mbr[] = sbox(hand)

See Also

Commands:

uncursor

Functions:

scirc (numeric), scur (numeric)