!*! Updated on 22-Mar-90 at 2:16 PM by Matt Badger; edit time: 0:19:06
!*! Created on 22-Mar-90 at 1:21 PM by Matt Badger; edit time: 0:08:34
!=====================================================================
! CHECK.BAS will list all of the logon information for any member. !
! This program can be accessed via the do file CHECK.DO !
! Just type CHECK followed by the initials of the member you want to !
! see. For example, CHECK ULTR<RET> will list all logon information !
! for the member with ULTR as their mailbox. !
!=====================================================================
!====================================================================!
!The start of the main program is right here !
!====================================================================!
loop:
input line #2, curr'line
if eof(2)=1 then goto end
if instr(1,left(curr'line,4),mailbox) then gosub print
goto loop
print:
icount=icount+1
jcount=jcount+1
if icount=23 then gosub pause
print curr'line
return
end:
print "========================================================================"
if jcount=0 then print "There are no calls from ";mailbox;" this month"
if jcount>0 then print "Total calls for the month =>";jcount