Repeat bug???

Dave dave at looktowindward.com
Thu Feb 22 10:19:03 EST 2007


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,40000804 
, 
00020120,40000804,00020120,40000804,00020120,40000804,00020120,40000804, 
" 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





More information about the use-livecode mailing list