[REBOL] Re: If without a THEN
From: jelinem1:nationwide at: 9-Aug-2001 16:50
By looking at the results of your original example, the unbracketted code
following the 'if condition gets evaluated with every execution of the 'if
word, whether or not the condition is true. Just something to be aware of.
Sent by: [rebol-bounce--rebol--com]
08/09/01 04:29 PM
Please respond to rebol-list
Subject: [REBOL] Re: If without a THEN
Thanks for all the replies. My original typo has opened up a new world of
Rebol syntax for me.
I can now write code like:
if 1 = 1 load/all %myscript.r
if 1 = 1 [do %myscript.r]
I'm sure I'll think of a good use for this, other than using less of the
world's supply of pesky square brackets