mixed :fork ( bool $CONDITION , mixed $TVAL , mixed $FVAL )
This function can be used as an equivalent of the ternary operator in C-like languages.
# Compare two values. :set &A &B i0 :read &A &B :writeln s'A and B are ' (:fork (:eq $A $B) s'equal' s'unequal') s'.'
wikipage modified on 2014/0601/2317