home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
752.LOGCONV.BAS
< prev
next >
Wrap
BASIC Source File
|
1985-09-28
|
768b
|
18 lines
10 WIDTH 80:PRINT "LOG CONVERSION PROGRAM 2.0 (C) JOE KASSER G3ZCZ 1985"
20 REM CONVERTS CONTEST LOG TO STANDARD LOG
30 INPUT "WHAT IS THE LOG NAME ";L$
40 CLS:N=1
50 OPEN L$+".$$$" FOR OUTPUT AS #2
60 OPEN L$+".LOG" FOR INPUT AS #1
70 IF EOF(1) THEN 160
80 INPUT#1,D$,T$,B$,C$,R$,S$,M$,P$,QS$,QR$,X$
110 R$=LEFT$(X$,2):N$=STR$(N):N$=MID$(N$,2)
120 X$=MID$(X$,3,LEN(X$)):X$=N$+"-"+X$:N=N+1
130 PRINT#2, D$;",";T$;",";B$;",";C$;",";R$;",";S$;",";M$;",";P$;",";QS$;",";QR$;",";X$
140 PRINT D$;",";T$;",";B$;",";C$;",";R$;",";S$;",";M$;",";P$;",";QS$;",";QR$;",";X$
150 GOTO 70
160 CLOSE#1 : CLOSE#2
170 NAME L$+".LOG" AS L$+".RUN"
180 NAME L$+".$$$" AS L$+".LOG"
190 END