> (leftValue rightValue -- isGreater)leftValue: Left value in the comparison.rightValue: Right value in the comparison.isGreater: Cond result that is TRUE when leftValue is greater than rightValue, and unknown when ordering cannot be decided at compile time.> tests whether the left dereferenced value is greater than the right dereferenced value.
Supported inputs are values whose dereferenced schemas are same-schema numeric or Text. Both inputs must be non-NIL. Text inputs must also be known.
FALSE.FALSE with one unknown operand: known right maximum.NIL Text input is invalid.{} 0 {} [
first: 5;
second: 4;
intValue: 0 dynamic;
"-- int32 --" printCompilerMessage
5 4 > printStack _:;
4 4 > printStack _:;
3 4 > printStack _:;
"-- references are dereferenced first --" printCompilerMessage
@first @second > printStack _:;
@second @first > printStack _:;
"-- unknown int32 --" printCompilerMessage
intValue 5 > printStack _:;
"-- Whole boundary case --" printCompilerMessage
intValue 2147483647 > printStack _:;
"-- text --" printCompilerMessage
"beta" "alpha" > printStack _:;
"alpha" "beta" > printStack _:;
0
] "main" exportFunction
-- int32 --
TRUE
FALSE
FALSE
-- references are dereferenced first --
TRUE
FALSE
-- unknown int32 --
Cond
-- Whole boundary case --
FALSE
-- text --
TRUE
FALSE
< builtin (leftValue rightValue -- isLess) Tests whether the left dereferenced value is less than the right one for supported same-schema numeric or known Text values.= builtin (leftValue rightValue -- isEqual) Tests dereferenced value equality for Cond, numeric, and Text values of the same schema.is builtin (leftValue rightValue -- isIdentityLike) Tests identity-like equality for references, Text, and Code values of the same dereferenced schema; In-place values of the same schema still give FALSE.same builtin (leftSchema rightSchema -- isSameSchema) Tests whether two dereferenced schemas are exactly the same; this is schema equality only, not runtime-value equality.