Do loops

Loops can be used to continually repeat a series of instructions. The do loop is one of the first kind of loops that you have been introduced to, as it is used in most of the previous examples. It will continually execute the instructions contained within it. It begins with the keyword do and anything following this upto the keyword loop will continually cycle round.

do
	print ( "inside a do loop" )
	
sync ( ) loop