Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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. - Michael [Sanghabum--aol--com] Sent by: [rebol-bounce--rebol--com] 08/09/01 04:29 PM Please respond to rebol-list T To: [rebol-list--rebol--com] cc: bcc: 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 rather than 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 --Colin