Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 462 of 909
EXAMPLE:
C20 'Place a label
IF LEN1>0 'Check to see that LEN1>0
c=GETCHR1 'Get character from buffer
IF c==69 'Check to see if it is an E
END 'End the program
ENDIF
ENDIF
GOTO20 'Loop back to C20
RELATED COMMANDS:
R
GETCHR Next Character from Communications Port 0 (see page 459)
R
LEN Length of Character Count in Communications Port 0 (see page 513)
R
LEN1 Length of Character Count in Communications Port 1 (see page 514)
OCHN(...) Open Channel (see page 601)
Part 2: Commands: GETCHR1