RosettaCodeData/Task/Jump-anywhere/Robotic/jump-anywhere-4.robotic
2023-07-01 13:44:08 -04:00

29 lines
452 B
Text

. "The 'wait' statements are used to demonstrate what is happening"
set "local1" to 1
end
: "touch"
goto "#label_a"
wait for 50
* "Done with Label A"
wait for 50
goto "#label_b"
wait for 50
* "Skipped finishing Label B and C"
end
: "#label_a"
* "Label A was reached"
goto "#return"
: "#label_b"
* "Label B was reached"
wait for 50
goto "#label_d"
: "#label_c"
* "Label C was reached"
goto "#return"
: "#label_d"
* "Label D was reached"
goto "#top"