Assignment instruction
RoBOTL
Assignment instruction
varname = expression ;
This instruction calculates the value of
expression
and assigns it to the integer variable whose
name
is varname.
The variable must have been defined for the type of robot
beig told to perform the assignment by a
DefineInteger definition
within the
NewRobotType definition block..
Note that since a basic_bot does not have any integers defined,
a basic_bot cannot be told to perform any
assignment instructions.
RoBOTL's Capabilities:
You can also go:
Created on 9 January 1996
Last revised 20 August 1996
Copyright ©1996 Walter S. Ching, n1hbr@ma.ultranet.com