Image bm146.GIF Direction of Lucy
The direction of Lucy element represents the direction of Lucy after being rotated, expressed in radian (The perigon, 360 degrees, corresponding approximately to 6.28). The element can be treated as a normal numeric variable. By using it in a numeric term Lucy's current direction can be found out. By using the element as a command the direction of Lucy can be set. In case a preceding command to step or to shift to a specified coordinate has been given Lucy will first finish the shift before being rotated.
To facilitate the use of directions predefined angle constants can be utilized enabling execution of numeric operations, e.g. addition and division.

Full Html Context Help of The Peter - Gemtree Software & Children Programming