| NEW | |||||||||||||||||||||||||||||||||||
| Syntax | NEW kind |
||||||||||||||||||||||||||||||||||
| Explanation | The NEW command allows you to create new
Logo objects of a certain type. The output of this
command is the name of the object, which may be assigned
to a Logo variable for later use. Currently, Logo
knows the following types of names.
When a Logo element is created, it is by default attached to the current Graphics window. A turtle or a button without a window cannot be displayed by Logo. To attach an element to a window, set its WINDOW property to the name of the Graphics window where it should appear. The DECLARE command is similar to the NEW command. The difference is that the DECLARE command stores the name of the Logo object into a Logo name. |
||||||||||||||||||||||||||||||||||
| Examples | NEW "OUTPUT Result: OUTPUT.1 A new Output window is created GPROP "OUTPUT.1 "CHANNEL The text HI JOE appears in the Output window |
||||||||||||||||||||||||||||||||||