Category : Communication (modem) tools and utilities
Archive   : PRCMSCRP.ZIP
Filename : TIMLOG.ASP

 
Output of file : TIMLOG.ASP contained in archive : PRCMSCRP.ZIP
; Stephen Decarie GEmail = S.Decarie
; 62 Beacham Way NW
; Calgary
; Alberta T3K 1R8
;
; I'd be interest in comments re potential additonal ideas for this script
;
;
; This script just writes the current time to the file TIME.LOG
; If you set it up as a METAKEY it can be then be used to save the time
; when a particular event occurs.
;
proc main
; current time in 24 format to a file
string timvar
string data
integer lifd = 10
string lefd
integer itvar,count,lent
itvar = 0
count = 0
fopen 0 "time.log" "at"
while itvar = 0
fread 0 data 80 lent
; fatsay count 3 41 " count %d" count
count = count + 1
eof 0 itvar
if itvar = 1
; message "eof reached"
endif

endwhile
key2ascii lifd lefd
fputs 0 lefd
time timvar 1 ; military time 24 hr format
fputs 0 timvar
fclose 0
endproc


  3 Responses to “Category : Communication (modem) tools and utilities
Archive   : PRCMSCRP.ZIP
Filename : TIMLOG.ASP

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/