- :nothing
ensure
assert given condition is true, or exit
Parameters
ensure condition :block
Returns
Examples
copynum: input "give me a positive number" ensure [num > 0] print "good, the number is positive indeed. let's continue..."
ensure condition :block
copynum: input "give me a positive number" ensure [num > 0] print "good, the number is positive indeed. let's continue..."