RoBOTL
Names
A name is an identifier used to represent
an entity. The named entity can be any one of
It is permissable to have two different entities have the same name.
That is, a robot and a world entity could all have the name, e.g. bob.
Names may be up to 31 characters long, and consist of letters (A-Z and a-z),
digits (0-9), and the underscore (_) character.
Names must, however, begin with a letter.
Names are case-sensitive (uppercase and lowercase are distinct, so that
abcd, ABCD, AbCd, and aBcD are all different names,
A name may not be the same as a RoBOTL keyword.
RoBOTL keywords include:
- and
- as
- at
- beeper
- BeepersInBag or beepers_in_bag
- BeepersOnFloor or beepers_on_floor
- block
- DefineInitialBeepers or define_initial_beepers
- DefineInteger or define_integer
- DefineNewInstruction or define_new_instruction
- East or east
- Else or else
- FacingEast or facing_east
- FacingNorth or facing_north
- FacingSouth or facing_south
- FacingWest or facing_west
- from
- FrontIsClear or front_is_clear
- for
- If or if
- IsLikeA or is_like_a
- Iterate or iterate
- LeftIsClear or left_is_clear
- Move or move
- New or new
- NewRobotType or new_robot_type
- North or north
- not
- or
- PickBeeper or pick_beeper or pickbeeper
- Place or place
- PutBeeper or put_beeper or putbeeper
- Remove or remove
- RightIsClear or right_is_clear
- South or south
- Tell or tell
- TurnLeft or turn_left or turnleft
- TurnOff or turn_left or turnoff
- times
- Wall or wall
- West or west
- While or while
- WorldEntity or world_entity
- XPosition or x_position
- YPosition or y_position
- #include
You can also go: