REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 12-Aug-2010 Edit History  

REBOL 3 Functions: unless

unless  condition  block

Evaluates the block if condition is not TRUE.



block [block!]

See also:

if   not   either  


The unless function is the equivalent of writing if not of a condition.

unless now/time > 12:00 [print "It's still morning"]

See the if function for a lot more information.


This function can take some getting used to. It has been provided to make PERL programmers happier, and it's marginally simpler and faster than writing an if not expression.

  TOC < Back Next > - WIP Wiki Feedback Admin