1 ' A Time and Billing Program 2 ' for Lawyers and Professionals 3 ' on the go. 4 ' Copyright (C) April 1985 5 ' David Huntington Williams 6 ' Feel free to copy and use but 7 ' not for resale!!! 9 CLEAR 256 10 CLS:CLOSE 20 PRINT"Baby's little timekeeper" 30 PRINT"you may..(f1) enter start time" 40 PRINT".........(f2) enter end time" 50 PRINT".........(f3) print to screen" 60 PRINT".........(f4) send to file" 70 KEY ON 80 ON KEY GOSUB 100,200,500,700 92 PRINT@205,"take your pick" 94 FOR X=1 TO 300:NEXT 96 PRINT@205," " 97 IF INKEY$<>""THEN MENU 98 GOTO 92 100 CLS:CLOSE 112 PRINT@165,"client's name ";:INPUT CLIENT$ 114 PRINT@165," " 115 LINE INPUT "activity - ";ACT$ 116 BILL$=TIME$:CLOSE 117 OPEN"Time.do"FOR INPUT AS 1:INPUT #1,P$:FOR X=1 TO 3:INPUT #1,A$:NEXT 118 IF A$<>"DONE" THEN CLS:PRINT@320,P$;" STILL OPEN ":FOR X=1 TO 1000:NEXT:CLOSE:GOTO 10 119 CLOSE:OPEN "time.do"FOR OUTPUT AS 1 120 PRINT #1, CLIENT$ 122 PRINT #1, ACT$ 124 PRINT #1, BILL$ 125 PRINT #1,"OPEN" 126 CLOSE #1 128 GOTO 10 130 RETURN 200 CLS 210 OPEN "time.do"FOR INPUT AS 1 220 INPUT #1,CLIENT$ 230 LINE INPUT #1,ACT$ 235 INPUT #1,BILL$ 236 INPUT#1,Q$:IF Q$="DONE" THEN 900 240 PRINT@165,"working on - ";CLIENT$ 245 PRINT;ACT$ 248 PRINT "you started at - ";BILL$ 250 INPUT "are you finished ";T$ 251 IF T$<>"Y"ANDT$<>"y" THEN CLOSE:GOTO 10 254 PAY$=TIME$ 255 CLOSE:OPEN"time.do"FOR OUTPUT AS 1 256 PRINT #1,CLIENT$:PRINT#1,ACT$:PRINT#1,BILL$:PRINT #1,"DONE" 257 CLOSE 258 OPEN "log.do" FOR APPEND AS 1 260 CLS 265 PRINT@165, "logging ";CLIENT$;" to file!" 268 FOR X=1 TO 500:NEXT 272 PRINT #1,DATE$ 275 PRINT #1,CLIENT$:PRINT #1,ACT$ 280 PRINT #1,"begin time":PRINT #1,BILL$ 290 PRINT #1,"end time":PRINT #1,PAY$ 300 HR=VAL(LEFT$(PAY$,2))-VAL(LEFT$(BILL$,2)) 310 IF VAL(LEFT$(PAY$,2))