Remote Processing CAMBASIC User Manual

Page 82

Advertising
background image

Comm ands - 49

60 UNTIL RUNAMPS >5

310 RUNAMPS = 1.5*AIN(2)

>FIND GOSUB

20 GOSUB . . confirm
50 GOSUB . . current_test

>FIND . .

200 . . confirm
300 . . current_test

>FIND . . confirm

200 . . confirm
210 CUR = INP(12)
220 IF CUR < 2 THEN F = 0 ELSE F = 1

>FIND CUR

80 COR = INP(35)
90 IF COR <= 176 THEN PRINT “Status OK”
210 CUR = INP(12)
220 IF CUR < 2 THEN F = 0 ELSE F = 1

In this case you would be able to detect the con flict between the CO R and CU R variables.

ERROR:

< Syntax> – for other argum ent variations

Advertising