🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4966

Nested MACROS ??

#4966
From: Stan Novinsky
Date: Fri, 29 Mar 1996 12:23
9 lines
729 bytes
I am using a nested MACRO.  The problem is that only the 
inner part is execur

Given the following MACRO definitions and code,

 #define CUBE(X)   ((x * x) * x)
 #define ABS(X)    ((x < 0)   ? -(x) : (x))

 #define NEST(X)        (ABS(CUBE(X)))
Technical Details
Message-ID: <4jgkno$mrr@aplinfo.jhuapl.edu>
Path: arc1-ca.pugleaf.net!netnews.jhuapl.edu!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!netnews.jhuapl.edu!usenet
From: Stan Novinsky <stan_novinsky@jhuapl.edu>
Newsgroups: comp.std.c
Subject: Nested MACROS ??
Date: 29 Mar 1996 12:23:20 GMT
Organization: Johns Hopkins University Applied Physics Lab
Message-ID: <4jgkno$mrr@aplinfo.jhuapl.edu>
NNTP-Posting-Host: f3c-sjn.jhuapl.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (Macintosh; I; PPC)
X-URL: news:comp.std.c