On Thursday, Mar 6, 2003, at 15:50 America/Chicago, Kerry Thompson wrote:
I took over a project not long ago, and one of the first things I noticed was this movie handler:
on prepareMovie on keyDown --yada yada end keyDown end prepareMovie
I came across an interesting set of repeat loops a while back:
repeat while someCondition then -- end repeat
and
repeat with someCounter then -- end repeat
I'd never seen a 'then' at the end of a repeat. The compiler didn't whine and the code worked fine.
& don't forget this fine case of ignorance: & the issue above gets more confusing if it's not a 'then' ...
on ignoreSquigglyDoggieDoo stuff case stuff of squigglyDoggieDoo 1 : put 1 2 : put 2 otherwise ALERT "not accounted for" end case
repeat while (stuff=1) bananaDog
stuff = "done"
put stuff
end repeatend
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
