🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #453

MACRO

#453
From: -Fulvio-
Date: Thu, 21 Aug 2003 10:26
15 lines
1525 bytes
Hi to all NG!
I wanted to know how to make a macro with java language; in fact what is the
correspondent command C  #define?
Using language C, the "define" command works like a macro replacing the
value written instead of the variables (at run-time);
for example if I type like this:

#define hp = 1

All the variables "hp" are replaced with 1...so how can I do this with JAVA
language?

Thanks to everyone who will read and answer this message!

-Fulvio-
Technical Details
Message-ID: <v711b.255100$lK4.7888137@twister1.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,b15104e56e6cebe9,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-08-21 03:31:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
From: "-Fulvio-" <ormafu@NOSPAMinwind.it>
Newsgroups: borland.public.jbuilder.java.api
Subject: MACRO
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <v711b.255100$lK4.7888137@twister1.libero.it>
Date: Thu, 21 Aug 2003 10:26:35 GMT
NNTP-Posting-Host: 151.29.211.206
X-Complaints-To: abuse@libero.it
X-Trace: twister1.libero.it 1061461595 151.29.211.206 (Thu, 21 Aug 2003 12:26:35 MET DST)
NNTP-Posting-Date: Thu, 21 Aug 2003 12:26:35 MET DST
Organization: [Infostrada]