🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #23040

MACRO

#23040
From: -Fulvio-
Date: Thu, 21 Aug 2003 10:33
15 lines
1537 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: <re11b.254720$Ny5.7819053@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6cb0,81f19faf9868b34b,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-08-21 03:34:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "-Fulvio-" <ormafu@NOSPAMinwind.it>
Newsgroups: cn.bbs.comp.lang.java
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: <re11b.254720$Ny5.7819053@twister2.libero.it>
Date: Thu, 21 Aug 2003 10:33:59 GMT
NNTP-Posting-Host: 151.29.211.206
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1061462039 151.29.211.206 (Thu, 21 Aug 2003 12:33:59 MET DST)
NNTP-Posting-Date: Thu, 21 Aug 2003 12:33:59 MET DST
Organization: [Infostrada]