Article View: borland.public.jbuilder.java.language
Article #20050Re: Macros in Java??
From: Brian Burton
Date: Thu, 06 Nov 1997 00:00
Date: Thu, 06 Nov 1997 00:00
24 lines
1177 bytes
1177 bytes
No. The horrible C preprocessor is not used in Java. You might kludge something together using make and javac directly. But I don't think that JBuilder supports running any sort of preprocessor during compilation. Frankly if == bothers you that much, you might not want to learn Java anyway. :-) ++Brian Davout wrote: > > Can you use C style macros in Java? > > For example I want to replace the horrible '==' equality testing symbol > with an 'EQ' macro. > > -- > - Davout davout@dial.pipex.com -- Brian Burton Custom Software Development Burton Computer Corporation Java, C++, Orbix, Tuxedo http://www.burton-computer.com OO Consulting and Mentoring
Technical Details
Message-ID:
<3462087E.E8157CDE@burton-computer.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<09971006073837.OUI85.davout@dial.pipex.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,921c5b88ca1800e1 X-Google-Attributes: gidf74b3,public From: Brian Burton <brian.burton@burton-computer.com> Subject: Re: Macros in Java?? Date: 1997/11/06 Message-ID: <3462087E.E8157CDE@burton-computer.com> X-Deja-AN: 287466134 References: <09971006073837.OUI85.davout@dial.pipex.com> Organization: Burton Computer Corporation Newsgroups: borland.public.jbuilder.java.language