;; programming by Katie last modified on 1/23/01

to tom

end

to run
print "run
wheels on thisway
end

to stopwheels
print "stopwheels
wheels off
end

to backup
print "backup
wheels on thatway
end

to wheels
a, 
end

to light
b,
end

to light-on
print "light-on
light on
end

to light-off
print "light-off
light off
end

to touch? ; touch--light-off, 
loop [if touch on [light-off] wait 20 run]
end

;; sensors

to touch
output sensor 0
end