home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
766.LOGSRCH.PRG
< prev
next >
Wrap
Text File
|
1985-09-28
|
1KB
|
52 lines
*LOGSRCH VERSION 850922
* CALLED FROM LOGBOOK
*LOCAL VARIABLES callflag,callheard,linecount
USE &logbook INDEX &logbook
STORE T TO callflag
*MAIN LOOP
DO WHILE callflag
GOTO TOP
ACCEPT "Call/Prefix (* To terminate) ? " to callheard
IF callheard = "*"
STORE F TO callflag
* Clear loop control for exit
ELSE
STORE 1 TO linecount
ERASE
? "Log entries for CALL PREFIX = ", callheard
?
FIND &callheard
IF # = 0
@ 5,1 SAY callheard
@ 5,12 say "does not appear to be in the log"
ELSE
DO WHILE CALL = callheard .AND. (.NOT.EOF)
IF linecount = 1
? " ENTRY CALL DATE TIME BND PWR TX RX MDE S R "
?? "COMMENTS"
? " ---------------------------------------------------------"
?? "--------"
ENDIF
? #,call,date,time,band,power,rx,tx,mode,qslsent,qslrx,comments
STORE linecount + 1 TO linecount
IF linecount = 20
?
WAIT
STORE 1 TO linecount
ENDIF
SKIP
ENDDO
ENDIF
?
?
ENDIF
GOTO TOP
ENDDO
RELEASE callflag,callheard,linecount
RETURN