To execute a loop three times...

Example 1
Code:
	CounterA var Byte

	..

	For CounterA=0 to 2
		HIGH LED1
		PAUSE 500
		LOW LED1                     
		PAUSE 500
		Next CounterA
In the above example, counting starts at zero... it's the same as specifying
Code:
	For CounterA=1 to 3

Example 2
Code:
	CounterA var Byte

	..

	CounterA=3
	While CounterA>0
		CounterA=CounterA-1
		HIGH LED1
		PAUSE 500
		LOW LED1                     
		PAUSE 500
		Wend
I'm sure a few more examples can be had too... but that's a starter...