Quote Originally Posted by chrisshortys View Post
positivetwo:

IF XAXIS > 18 THEN
STEPPING = 6
ENDIF

IF XAXIS > 15 THEN
STEPPING = 5
ENDIF

IF XAXIS > 12 THEN
STEPPING = 4
ENDIF

IF XAXIS > 9 THEN
STEPPING = 3
ENDIF

IF XAXIS > 6 THEN
STEPPING = 2
ELSE
STEPPING = 1
ENDIF

'************************************************* ************************************************** ***********
Hi Chris

I am looking to do something similar (soon I hope) and as I was scrolling thru your code, I saw that this whole section could be resumed by this.

STEPPING = XAXIS /3

and maybe add a IF statement for low values of xaxis..

IF XAXIS < 5
STEPPING = 1
END IF


I don't know if that can make the whole thing more reponsive...since all the IF have to be processed.

anyhow, thanks for sharing your code!