Chapter 7 7-101
Programming Examples
List-Frequency and Limit-Test Table Examples
380 !
390 IF Pass<Qual THEN GOTO Measure ! If not enough passes to qualify
400 !
410 ! Device passed
420 DISP “DEVICE PASSED!” ! Number of passes enough to qualify
430 FOR I=1 TO 10 ! Announce the device passed and
440 BEEP 1000,.05 ! prompt operator to connect new
450 BEEP 2000,.01 ! device to test.
460 NEXT I
470 !
480 INPUT “PRESS RETURN FOR NEXT DEVICE”,Dum$
490 Pass=0 ! Initialize pass counter
500 GOTO Measure ! Begin measurement
510 !
520 END