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

[REBOL] If without a THEN

From: sanghabum:aol at: 9-Aug-2001 14:41

Hi all, Just purely out of curiosity, can anyone tell me why this badly-bracketed code does anything other than give a message "Script Error: if expected then-block argument of type: block"? myblock: [1 2 3 4 5 6 7 8 9 10 11 12] foreach xx myblock [ if xx = 9 remove find myblock xx ] ; for print myblock --Thanks, --Colin