Hi Richard,

Welcome to the board.

A while loop is not that difficult. It enables you to perform certain tasks until a threshold is reached. The example below will display the contents of $a as long as it is less than 15. You can do any task you want in a while loop. It will fire up each time until the set threshold is reached.

 Code:
$a = 0
While $a < 15
	? "Variable A has a value of: " + $a
	$a = $a + 1
Loop
?"While loop has ended because variable A is no longer less than 15."

Sleep 15
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.