|
|||||
|
| MWForum Message | [Date Index] [Threads] [Authors] [Attachments] [Subscribe] | ||||||||
Hi! Setpos wants a list as input: setpos [100 100] If the position is determined by variables, you cannot enclose the variables within brackets. You have to "build" the list using your variables: setpos se :a :b se means sentence. It takes the two inputs :a :b and builds a sentence (a list, really). That being done, it passes the resulting list to setpos, who will be happy with this. Other examples of constructions: setpos se (xcor + 10) ycor setpos se (:a + 1) (:b + 1) setpos ask "t1 [pos] setpos se (ask "t1 [xcor]) ycor setpos se (xcor + slider1) (ycor + slider2) The parenthesis here are just playing cute, but sometimes they are required to "force" a proper parsing of the instruction. Get used to using them. Other options: check setpos in Help/ Vocabulary Alain Tougas alain@xxxxxxx
Hi mwforum, To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file. | |||||||||