--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> > Why do you need  a script which has so much flexibility in the 
way 
> > the numbers are calculated and incremented.
> 
> I figured while we're building a counting script, might as well 
make it as
> capable as possible. 

OK.  Have you considered adding ability to play bell or whistle wav 
at each step?



> > > are -1, or another unusual start number, this check is no 
longer 
> > valid. Is
> > > there a formula here that we can use that will be a loop check 
no 
> > matter
> > > what is entered as start, end, multiplier, and increment amount?

I think you just need  to arrange that the for loop check is either 
<= or >=.  You can use the same eval trick as you use for the 
increment and express as string, or just use two different loops and 
select one with if.  Sometimes loop will be executed 0 times.

If increment is >0
      For *, + use <=
      For - use >=

If increment is <0, not allowed for * (or maybe make an absolute 
value function and use <=), else reverse above.







!





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to