struct.cable.state.compression

Syntax

i := struct.cable.state.compression(p)

Get the compression yield state of the element. The return value {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively.

Returns:

i - an integer in the set of {0, 1, 2} denoting never yielded, now yielding, or yielded in the past, respectively

Arguments:

p - pointer to a cable-type element