Okay, maybe a little snippet.
TYPE _position_
pos.X
pos.Y
ENDTYPE
pos.X=10
pos.Y=20
function1(pos)
END
FUNCTION function1(pos AS _position_)
ENDFUNCTION
Inside the function I am getting pos.X=20 and pos.Y=10.
I copied/pasted the same exact code into another project and I get the correct results. But in the original code, I need to use this instead:
TYPE _position_
pos.X
pos.Y
ENDTYPE
pos.X=10
pos.Y=20
function1(pos.X,pos.Y)
END
FUNCTION function1(posX,posY)
ENDFUNCTION
In order for it to work correctly.
www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)