RoBOTL

new control statement


new robottype robotname ;
new robottype robotname at x , y ;

This creates a new robot, whose type will be robottype and whose name will be robotname, and then places the new robot at the coordinates specified by the expressions x and y or at 0,0 if no coordinates are given.

The new robot is initially facing Eastward when it is created. It is also powered on at the time it is created unless it is told to turn itself off with a TurnOff instruction, and exists in the world unless it is removed with a remove statement.


The new statement can also be specified as New.


Other control statements:


You can also go:

Created on 16 June 1995
Last revised 20 August 1996
Copyright ©1995,1996 Walter S. Ching, n1hbr@ma.ultranet.com