sketch.segment.id

Syntax

i := sketch.segment.id(sgp)

Get the segment ID number, a unique number assigned by the code when it is created.

Returns:

i - the segment ID number

Arguments:

sgp - a pointer to a segment