Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!news.funet.fi!fuug!clinet!dix From: dix@clinet.fi (Risto Kaivola) Newsgroups: aus.computers.amiga,comp.sys.amiga.programmer Subject: Re: Where is MakeID() defined? iff.h?? Message-ID: <1991May17.191647.20537@clinet.fi> Date: 17 May 91 19:16:47 GMT References: <6374@gara.une.oz.au> Distribution: aus Organization: City Lines Oy, Helsinki, Finland Lines: 17 [ Query on the location of the definition for MakeID() deleted ] I don't know whether this is in fact in some include file, but here is a definition I have found. MakeID() is not a function but a macro. It's purpose is to build long word identifiers for IFF chunks. The following definition is from "Amiga Rom Kernel Reference Manual - Includes & Autodocs (revised and updated)", for KS 1.3, appendix A: [ /* ID typedef and builder for 68000 Lattice C. */ typedef LONG ID; /* 4 chars in ' ' through '~' */ #define MakeID(a,b,c,d) ( (a)<<24 | (b)<<16 | (c)<<8 | (d) ) ] I hope this is of some help to you. Risto -- Risto Kaivola (dix@clinet.fi) or (Risto.Kaivola@f123.n220.z2.FIDONET.ORG)