RosettaCodeData/Task/Conditional-structures/MDL/conditional-structures-2.mdl
2023-07-01 13:44:08 -04:00

5 lines
152 B
Text

;"Negate X if its value is less than 0"
<AND <L? .X 0> <SET X <- .X>>>
;"Print a message unless the quiet flag is set"
<OR .QUIET? <PRINC "Finished">>