home *** CD-ROM | disk | FTP | other *** search
- SET TALK OFF
- USE Log
- GO BOTTOM
- REPLACE time_out WITH time()
- STORE VAL(LEFT(time_in,2))*60+VAL(SUBST(time_in,4,2)) TO start
- STORE VAL(LEFT(time_out,2))*60+VAL(SUBST(time_out,4,2)) TO end
- IF start>end
- STORE end+24*60 TO end
- ENDIF
- REPLACE minutes WITH end-start
- ? "Log out complete."
- ACCEPT "Log in for a new project (Y/N)? " TO ans
- IF ans<>"N".AND.ans<>"n"
- DO Login
- ENDIF
- * Now leave dBASE to the DOS prompt
- QUIT
-