sketch.segment.extra

Syntax

a := sketch.segment.extra(sgp<,i>)
sketch.segment.extra(sgp<,i>) := a

Get/set the value stored at iin the extra variable array of segment e.

Returns:

a - value stored in extra variable slot i for segment e

Accepts:

a - value to store in extra variable slot for segment e

Arguments:

sgp - a pointer to the segment

i - extra variable index to use. If not provided, index 1 is assumed.