Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!daimi!pilgrim From: pilgrim@daimi.aau.dk (Jakob G}rdsted) Newsgroups: comp.sys.amiga.introduction Subject: How to I read the system time from within a Modulaprg? Summary: my mother loves me Keywords: modula2 Message-ID: <1991May12.042713.4925@daimi.aau.dk> Date: 12 May 91 04:27:13 GMT Sender: pilgrim@daimi.aau.dk (Jakob G}rdsted) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 22 I've been trying to read the clock from a M2Amiga program, but I cannot find any information in the manual on doing this. I've looked in various c programs(all those clock programs...) and it seems, that in c there is a routine called getclk or something like that. I would have thought, that there was a library or an inclusion module; on I*M PC Modula and on Sun, it's an inclusion module - you say something like FROM SystemTimer IMPORT Getdate,Setdate END But I find no such thing. What simple thing is it that I've overlooked? Thanks in advance, replies by E-mail. -- From the notorious Jakob Gaardsted, Computer Science Department Bed og arbejd ! University of Aarhus, Jylland (!) (Pray and work!) AMIGA! pilgrim@daimi.aau.dk | I'd rather play Moria.