I've encountered this one, and it seems like a bug to me, though maybe there's an argument that it's correct behaviour.

My workaround is to always subtract the step value -1 from the limit:

repeat with itemIndex = 1 to the number of items in valueList - 3 step 4

Best,

Mark

On 22 Feb 2007, at 15:19, Dave wrote:


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,400008 04,00020120,40000804,00020120,40000804,00020120,40000804,00020120,4000 0804," 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
[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