Hi Guys,
I wanted to make this less time consuming:
Code:
lonwork = limit_left
latwork = limit_top

WHILE lonwork < displon
lonwork = lonwork + zoom
xxx++;
WEND

WHILE latwork > displat
latwork = latwork - zoom
yyy++
WEND
It's all about incrementing xxx & yyy the correct number of times.
The first while loop can be replaced with this:
Code:
temp var word
temp = displon - limit_left
xxx = temp / zoom
I can't work out the second while loop.
Any help appreciated.
Cheers, Art.