Lets call the handler MoveItThere
Code: Select all
on MoveItThere xpos, ypos
set the loc of graphic "littlecircle" xpos/2 &","& ypos/2 -- put the graphic half-from the xpos ypos original position
end MoveItThere
Code: Select all
on mouseUp
put 320 into xx
put 450 into yy
MoveItThere (xx,yy)
end mouseUp
Although the workaround is easy, this behaviour seems strange as the comma is normally the itemdelimiter for parameters and that Revolution supports multiple parameters passed to functions or handlers...
Is this new or am I missing something.
I am using rev 4.0 but I believe this did not happen in 3.5 (I have deleted 3.5 from my machine)