[MWForum]Passed Variables in setpos

Bob Albright mwforum@lists.mathcats.com
Wed, 26 Nov 2003 21:14:14 -0600


The following ends with the error message "setpos does not like :x as input
in place".

I added the line show :t show :x show :y to prove the variables were being
passed correctly. I just can not use them in setpos.

to start
place "sq9 50 -50
end

to place :t :x :y
show :t show :x show :y
newturtle :t
setcolor "red
setpos [:x :y]
end

Bob