I tried putting a 'wait 1 millsecond' into the loop, and it made no difference. Perhaps there is something weird about what the random() function returns, until it is put into a variable? Mark On 9 Jun 2006, at 00:59, Mark Schonewille wrote: > Maybe a slight pause is all it takes.