Hello Dave and Mark,
It's not a bug
Some times you have to read the documentation.

The with form:
The with counter = ... set the counter to the startValue at the beginning of the loop, .... When the counter is greater than or equal to the endValue, the loop performs its final iteration and then ends.

Jean-Marc


Le 22 févr. 2007, à 16:19, Dave a écrit :

Hi All,

Try out the following, on my setup it goes round the loop once too often! Well I assume it is supposed to stop when myItemIndex = 16???

Is this a bug?

Thanks a lot
All the Best
Dave

A stack with one button and one list field in it.


on mouseUp
put "00020120,40000804,00020120,40000804,00020120,40000804,00020120,4000080 4,00020120,40000804,00020120,40000804,00020120,40000804,00020120,400008 04," into myValueList
        
 put the number of items in myValueList & cr after field 1
  repeat with myItemIndex = 1 to number of items in myValueList step 4
 put myItemIndex         & cr after field 1
  end repeat
end mouseUp


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to