I wish the control words :Leave and :Iterate could take optional boolean condition arguments.Then, for example, I could leave a loop with a concise ":Leave condition" instead of the currently required more obtuse ":If condition ⋄ :Leave ⋄ :EndIf"
@drab It is on my plan (:Continue, btw) to allow :If cond :Leave and :If cond :Continue rather than APL+Win's :LeaveIf and :ContinueIf
In fact, I'd like to generalise it to :If cond :Then expression as syntactic sugar for :If cond ⋄ expression ⋄ :EndIf
(maybe :Do instead of :Then?)
Also :If cond :Return and in general any control structure/key word immediate after :If cond and :While cond and :For vars :In[Each] and :Trap errnos with :Do expression being syntactic sugar for :If 1 ⋄ expression ⋄ :EndIf
There's also :Return which I'd further want to extend to allow a value, so you can write :If cond :Return 42 instead of :If cond ⋄ returnVar←42 ⋄ :Return ⋄ :EndIf
Yes, ":Finally" could be useful too. I assume, among other things, it could give you a last chance to adjust a return value from a traditional function.