sbw@turing (Steve Wampler) (07/21/90)
I think the easiest way to think about 'break expr' is that it is a control structure where first the break is performed and then the expression is evaluated. This has the effect that the expression is evaluated in the context surrounding the loop, not within the loop. -- Steve Wampler {....!arizona!naucse!sbw} {sbw@naucse.cse.nau.edu}
Paul_Abrahams%Wayne-MTS@UM.CC.UMICH.EDU (07/22/90)
The interesting thing about break (break 2) is that the argument of the first break is returned *unevaluated* as the result of the inner loop. Are there any other places in Icon where unevaluated expressions are returned? I can't think of any. Paul Abrahams