Code: Select All | Copy To Clipboard
1 2 | GetCalc("uX")→{X}{^r} GetCalc("uY")→{Y}{^r} |
if you do that, then then adresse of the var will store to the ram at x and y adresse
but if you don't define this var, it can do ram clear or data corruption if they are store where there should'nt be store

use this instead :
Code: Select All | Copy To Clipboard
1 2 3 4 5 | Buff(2)->°X Buff(2)->°Y GetCalc("uX")->{°X}^r GetCalc("uY")->{°Y}^r |
this will store the adresse of the os' variable into a defined place locate in the compiled prog
the second thing I see is :
Code: Select All | Copy To Clipboard
1 2 | length(A)=L |
in AXE, this will just do a comparaison. I suppose it should be
Code: Select All | Copy To Clipboard
1 2 | length(A)->L |
And why do you use this :
Code: Select All | Copy To Clipboard
1 2 | Pxl-On({X}{^r}+Z,{Y}{^r}+θ |
because with this code, you do a pxl-on at the pos (adresse os X)+Z,(adresse os Y)+θ
and in fact, why are you using os-vars ? (varX,varY) ? As I know, they don't even have the same format than axe var...





)