Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!ukc!slxsys!ibmpcug!demon!harry From: harry@demon.co.uk (Harry Broomhall) Newsgroups: comp.sys.amiga.misc Subject: Re: lattice C NOVICE question Message-ID: <1991Mar21.020628.10662@demon.co.uk> Date: 21 Mar 91 02:06:28 GMT References: <732@elctr.UUCP> Organization: Demon Systems Limited Lines: 22 In article <732@elctr.UUCP> dsn@elctr.UUCP (Dan Soeren Nielsen) writes: > > I'v checked it for typing errors several times, but I still end up at >the Guru. It seems that the "fprinf" can't be used together with "Open" >and "Write" should be used instead. > Is this an error in the book or is the problem due to incompatibility >with the Lattice compiler? > You are quite right. Functions that deal with the 'streams' interface cannot be used with the Dos library. Use sprintf to a buffer, and Write the buffer. > By the way; Where do I find a description of the functions in dosextens Have you got the Rom Kernal Manuals (RKMs) ? No Amiga programmer should be without these. In addition you will need the AmigaDos book from Bantam, even though it is a little out of date. All these books are only available in English, but given the good English in your posting I would guess that this will not be a problem. Regards, Harry.