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 -
March 12, 2018 at 5:27 PM -
Thread is 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