🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: MACRO

#23043
From: �ö�����
Date: Thu, 21 Aug 2003 12:38
16 lines
1435 bytes
?
final?......
�� �� ormafu. �Ĵ������ᵽ: ��
: 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!
: .................������ʡ�ԣ�
--
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.25.78]
Technical Details
Message-ID: <47k3CG$9mK@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.zixia.net!news.neu.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB
X-Google-Thread: f6cb0,81f19faf9868b34b
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-08-21 05:38:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.zixia.net!news.neu.edu.cn!SJTU
From: ofbiz.bbs@bbs.sjtu.edu.cn (�ö�����)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: MACRO
Date: 21 Aug 2003 12:38:59 GMT
Organization: ��ˮ˼Դ
Message-ID: <47k3CG$9mK@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1061469520.A
Lines: 16