REBOL Document

Else - Function Summary


Summary:

Else is obsolete; use either.

Usage:

else

Description:

See the EITHER function for if-then-else conditions.


    either now/time > 10:30 [
        print "later"
    ][
        print "earlier"
    ]
    earlier

Related:

either - If condition is TRUE, evaluates the first block, else evaluates the second.
if - If condition is TRUE, evaluates the block.


<Back | Index | Next>

Copyright 2004 REBOL Technologies