Sanyo MBC-550 Series User Manual page 137

Table of Contents

Advertisement

must be the first line of the subroutine.
Example
>100 INPUT "1-3 ?", A
>110 ON A GOSUB 1ii0,170,200
>120 GOTO 100
>130 1
>140 PRINT "A=1"
>150 RETURN
>160
>170 PRINT "A=2"
>180 RETURN
>190 *
>200 PRINT "A=3"
>210 RETURN
i
>RUN
1-3 ? 2
A=2
1-3 ? 100
1-3 ? 1
A=1
1-3 ?
Break in 100
3—70

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents