<pre><tt><small><tt><small>Hello,<br><br></small></tt></small></tt>Frank Barknecht wrote :<br><tt><small><tt><small><br>>Generally I <br>>prefer to<br>>count from 0 to maxstep-1, a "modulo counter" that is easily <br>>build<br>>with <br>><br>> [r $0-restart]<br>> |<br>> [f 0]/[+ 1]/[mod 8]<br>> | |<br>> | [s $0-restart]<br>> |<br>> counter output here<br><br>I tried the modulo method but I saw that if the user change the max value to a value less than <br>the current value, the counter never resets again ...<br><br>I tried the implementation with the [select] object and I put and extra select to be sure that<br>the counter never exceeds the maximum of 8 steps.<br><br>Attached you'll find my current 8step implementation.<br></small></tt></small></tt></pre><p> 
                <hr size=1><font size=-1 face=Arial>
Χρησιμοποιείτε Yahoo!<br>
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br>
<a href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a> </font>