🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1926

Re: Lattice 5.04 problem with free()

#1926
From: Fred Gilham
Date: Tue, 31 Oct 1989 18:08
12 lines
978 bytes
| 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
Technical Details
Message-ID: <GILHAM.89Oct31100813@cassius.csl.sri.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!hercules!gilham
References: <36769@srcsip.UUCP> <37167@lll-winken.LLNL.GOV> <36899@srcsip.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <GILHAM.89Oct31100813@cassius.csl.sri.com>
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