Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!world!aep From: aep@world.std.com (Andrew E Page) Newsgroups: comp.sys.mac.programmer Subject: Re: Help in writing CDEF Keywords: CDEF MAC PROGRAMMER Control Definition Function Message-ID: <1991Jan18.202414.19523@world.std.com> Date: 18 Jan 91 20:24:14 GMT References: <12835@life.ai.mit.edu> Organization: The World Public Access UNIX, Brookline, MA Lines: 10 bear in mind that a CDEF(as with an MDEF, WDEF etc) is a STAND ALONE resource. As such it will contain all the subfunctions (even though they may be repeated in your main application) that it needs to function. The entry poiint to this will be your MAIN program ( I am a C lover) which will have the approriate arguments. The last argument is the routine selector. This will be used to determine which part of the code to use. Check out IM I-329 for a more complete definition of a CDEF. Andrew E. Page