I'm just facing as much trouble when I try to learn to program this language through the User Guide they provided online, even with the simple TRANS, FRAME and MOVE function. I'm getting a invalid orientation after I defined the FRAME and asking the robot arm to move with respect the FRAME. My code is looks like this:

Code:
Prompt "Set origin position", $ans
Here part.origin
Prompt "Set x position", $ans
Here part.x
Prompt "Set y position", $ans
Here part.y

SET part.frame = FRAME(part.origin,part.x,part.y,part.origin)
SET loc_a = TRANS(50,50,0) ;(or use some function to determine location)

MOVE part.frame:loc_a ; << this is where the error occurs, said "invalid orientation"
I have no idea what's not doing right. You may assume that I have never taking any V+ course, and all the knowledge I know is just from the Reference guide/user guide.