sketch.segment.maxid

Syntax

i := sketch.segment.maxid(sp)

Get the maximum ID number assigned to any segment in the set sp. The next segment created will be assigned this value plus one.

Returns:

i - maximum ID number of any segment in the set

Arguments:

sp - sketch set pointer