Art
- 29th December 2009, 11:50
Hi Guys,
I wanted to make this less time consuming:
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:
temp var word
temp = displon - limit_left
xxx = temp / zoom
I can't work out the second while loop.
Any help appreciated.
Cheers, Art.
I wanted to make this less time consuming:
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:
temp var word
temp = displon - limit_left
xxx = temp / zoom
I can't work out the second while loop.
Any help appreciated.
Cheers, Art.