Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!tymix!tardis!oliveb!amiga!boing!dale From: dale@boing.UUCP (Dale Luck) Newsgroups: comp.sys.amiga.programmer Subject: Re: Window Waiting (was ) Message-ID: <988@boing.UUCP> Date: 30 May 91 17:05:53 GMT References: <1991May24.102345.1@wombat.newcastle.edu.au> <1991May24.092943.31027@kuhub.cc.ukans.edu> <21912@cbmvax.commodore.com> <21943@cbmvax.commodore.com> Reply-To: dale@boing.UUCP (Dale Luck) Organization: Boing, Milpitas, Ca. Lines: 19 In article mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes: >>>Or even better is to use a structure assignment to copy the entire contents >>>of the message to a private message struct before replying... >>Brian >Again, I suggest a structure copy, even though you are also copying the ExecMessage, In general it is not a good idea to use structure copies of system structures that have any chance of changing size. There are some fields that of course we all depend on but there maybe fields application programmers do not depend on. These fields will come and go as Intuition progresses. You should only copy the fields you need, no more. Do not copy the fields you have no need for. It is a waste of time, code space, data space, and potentially a major problem when Commodore-Amiga decides it needs to change something that is private to itself. -- Dale Luck GfxBase/Boing, Inc. {uunet!cbmvax|pyramid}!amiga!boing!dale