At Thu, 18 Jul 2002 23:26:38 +0900, Hugh Sasse Staff Elec Eng wrote: > > print error_message or exit 1 if error_flag > Hmmm. I always get tangled with these. Bracketing things doesn't help > here (I tried it). I'd have expected the or to "short circuit" after > the print succeeded..... Oh, but print returns Nil, is that it? Hmmm. > I'm thinking in Shell I suppose! Or Icon... Array syntax works as sequential control, e.g., [ print(error_message), exit(1) ] if error_flag error_flag and [ print(error_message), exit(1) ] if you could accept these unconventional application :) -- Gotoken