Function Newbie question...

erik hansen erikhans08 at yahoo.com
Fri Dec 6 16:52:00 EST 2002


--- Ken Ray <kray at sonsothunder.com> wrote:

>     repeat with y = 1 to 5
>     -- Don't need to compare to itself,
>     -- so skip when x=y
>     if x=y then next repeat
>     ... -- 4 lines of code
>         end repeat
>     end repeat

> This is off the top of my head, but it should
> work...

this is picayune, but in general is it worth
executing something like "if x=y then next
repeat" in each loop for a rare occurance when
the 4 lines will give an acceptable result?

with the faster & faster hardware, i have been
choosing less lines of script in exchange for...
less lines of script.

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the use-livecode mailing list