Chipp, I use that form all the time ("if it is empty then exit to top") - I just had a problem regarding dangling THENs..

IF <condition> THEN
<command>
IF <condition> THEN
<command>

Does one execute after the other, or is the second executed only after the first condition is met? THIS is not clear, so I tend to be quite explicit or use a CASE statement. Kinda like using parentheses, might as well give the compiler succinct instructions!


It's a matter of preference I suppose. For me, "if it is empty then exit to top" is much easier to read than 3 lines taking up the same space.

Thanks to Eric for Mark Waddingham's explanation. It helps to understand the why.

-Chipp

--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to