home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
log
/
g3zcz15
/
logdel.2
< prev
next >
Wrap
Text File
|
1985-09-28
|
768b
|
22 lines
10 REM LOGDEL VER 790709
20 REM BY JOE KASSER G3ZCZ
30 REM COPYRIGHT SNOW MICRO SYSTEMS INC.
40 ERRSET 160,E1,E2
50 INPUT"Which log file ? ",L$\IF L$=""THEN 50
60 INPUT"Which drive is it on ? ",I\IF I<0ORI>4THEN60
70 I$=STR$(I)
80 L1$=L$+","+I$(2,2) \ L2$="*"+L$+","+I$(2,2)
90 DESTROY L1$ \ DESTROY L2$
100 FOR I=1 TO 4
110 IF FILE("SYSTEM,"+STR$(I))=2 THEN EXIT 150
120 NEXT
130 PRINT"Put a system disc in any drive, then hit 'RETURN'"
140 INPUT" ",A$\GOTO 100
150 CHAIN "SYSTEM,"+STR$(I)
160 ERRSET 160,E1,E2
170 IF E2=15 THEN 100
180 IF E1<>110 THEN 190 ELSE IF I>4 THEN 130 ELSE 120
190 IF E2<>7 THEN 200 ELSE PRINT"FILE ERROR"\GOTO 100
200 IF E2<>8 THEN 210 ELSE PRINT"HARD DISC ERROR"\GOTO100
210 PRINT"ERROR ",E2," AT LINE ",E1\GOTO 100