Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!Tom.Wood@cmu-ri-fas.arpa From: Tom.Wood@cmu-ri-fas.arpa Newsgroups: net.micro.pc Subject: Three Microsoft Pascal questions (sort of): Message-ID: <12580@sri-arpa.UUCP> Date: Thu, 19-Apr-84 22:58:18 EST Article-I.D.: sri-arpa.12580 Posted: Thu Apr 19 22:58:18 1984 Date-Received: Fri, 27-Apr-84 08:30:17 EST Lines: 19 Is there a graceful way to recover from I/O errors in MS Pascal? In particular, I would like the ability to determine whether assign()/reset() opens a file successfully, and if not, try again with another name. Alternatively, a function that checks to see if a file exists would do the trick. Anyone have a Pascal callable random number generator? And, I can't seem to get the 'TICS' function to work (supposed to return the time, in ticks.) Is it supposed to work with the IBM PC? If not, is there an easy way to ask MS-DOS for the time? If the answers to these questions have appeared in previous digests, I'd appreciate it if someone could point me to the volume/date. Thanks. -Tom Wood C-MU Robotics Institute taw@cmu-ri-fas