Aaargh! I'm still not used to "count" being a reserved word, I've used it for 
years and years as a variable name...

var byte counter
 
counter=0
repeat

  ;do something useful here

  counter=counter+1
until counter==0


This loop runs exactly 256 times, using a byte variable as
counter. In the first run, counter=0, gets incremented to 1,
and is checked if equal to 0. It is not, so the loop runs.
 
On the 256th run, counter=255, gets incremented, rolls over
to 0, and exits the loop.
 
Greets,
Kiste


-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to