home *** CD-ROM | disk | FTP | other *** search
- /*
- Copyright (c) 1986, 90 by Prolog Development Center
- */
-
- goal
- makewindow(1,7,7,"Timer",8,10,12,60),
- time(0,0,0,0), % very bad style should not be used
- system("dir c:\\prolog\\*.*"),
- time(H,M,S,Hundredths),
- write(H," hours "),
- write(M," minutes "),
- write(S," seconds "),
- write(S," Seconds and ",Hundredths," hundredths of a second"),
- nl,nl.