I am trying to do a SWITCH...CASE equivalent on a Register. I can't understand the syntax of the SELECT command. It seems different from the Karel SELECT ENDSELECT command. What is its syntax?
How do I use SELECT on the teach pendant ?
- ashwinmudigonda
- Thread is marked as Resolved.
-
-
Here is an example
1: SELECT R[ 2 ] = 1, JMP LBL[ 1 ]
2: =2, JMP LBL[ 2 ]
3: =3, JMP LBL[ 3 ]
4: ELSE CALL MAINPROG