Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!hercules!gilham From: gilham@csl.sri.com (Fred Gilham) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.04 problem with free() Message-ID: Date: 31 Oct 89 18:08:13 GMT References: <36769@srcsip.UUCP> <37167@lll-winken.LLNL.GOV> <36899@srcsip.UUCP> Sender: usenet@csl.sri.com Organization: Computer Science Lab, SRI International, Menlo Park, CA. Lines: 12 In-reply-to: carpent@SRC.Honeywell.COM's message of 30 Oct 89 13:28:45 GMT | As long as we are on the subject of Lattice, why doesn't this macro seem to | work? (I'm rather new to macrodom, so this is probably a silly one) I | have some terribly long nasty expressions that need to be squared, and | SQR(moocow) never returns what I expect: | | #define SQR(x) (x*x) | probably because moocow gets evaluated twice, which I bet is not what you want! -Fred Gilham gilham@csl.sri.com