GetSys

RangeCheckC

Check that a changed text variable is between two texts

Syntax

Signature
xBool RangeCheckC( Get *get, const char *low, const char *high );

Arguments

get the Get being checked.

low, high the limits; the texts are compared byte by byte.

Return value

T when the Get did not change or the value is between low and high; otherwise F.

Description

For a VALID callback. A value out of range shows "Range: low - high" on the scoreboard until a key is pressed.

See also