sketch.segment.node.extra

Syntax

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

Get/set the value stored at iin the extra variable array of node p.

Returns:

a - value stored in extra variable slot i for node p

Accepts:

a - value to store in extra variable slot for node p

Arguments:

p - a pointer to the node

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