I have been trying to make a program were a subroutine is called. The problem that I keep getting is that the variable is not defined. How can I define this, because it is a point. Do I need to write this in the .Trans piece or in the .Real piece. I Already have tried to do it in the .Trans piece but then I am not getting what I want?
The code I have tried to run is:
.PROGRAM Positions(.&a)
Point Position = a
SPEED 10 ALWAYS
ACCURACY 1 ALWAYS
JMOVE home1
SPEED 1
LMOVE position
JMOVE home1
.END
.PROGRAM main()
SPEED 10 ALWAYS
CALL Positions(&Positionb)
Call Positions(&Positiona)
.END