Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9425

Re: Trivial question?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Trivial question?
Date Wed, 02 Nov 2011 22:54:13 -0700
Organization A noiseless patient Spider
Lines 18
Message-ID <j8taa8$rur$1@dont-email.me> (permalink)
References <9ae6e06c-222e-4911-97e8-af9511b8772a@t38g2000prg.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 3 Nov 2011 05:54:17 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="28635"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GXYhFXy+WVrDHbanRoV7wg3VTNhG9Vxc="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To <9ae6e06c-222e-4911-97e8-af9511b8772a@t38g2000prg.googlegroups.com>
Cancel-Lock sha1:sbRkhDIC0Yf5icPvdVP58+0lPN8=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9425

Show key headers only | View raw


On 11/2/2011 10:04 PM, simplicity wrote:

> So, here is my "trivial question": How can I put this name with "@" to
> allow Java to digest it without complaints?


To me this is really a question of knowing your compiler, not Java. 
Java doesn't allow @ signs in identifiers, period.  You'll have to make 
an identifier that Java can accept.  One without an @ sign.  Hence, 
you'll need to ask on your compiler help list how to get rid of the @.

Some compilers support an option to remove the name mangling (the @), 
some you have an assembler that you can use to bridge the gap between C 
output and another language.  It all depends on your long term goals, 
and what your language is capable of.


Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Trivial question? simplicity <stella_pigeon@live.ca> - 2011-11-02 22:04 -0700
  Re: Trivial question? markspace <-@.> - 2011-11-02 22:54 -0700
    Re: Trivial question? Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-03 08:24 +0000
      Re: Trivial question? simplicity <stella_pigeon@live.ca> - 2011-11-03 10:28 -0700
        Re: Trivial question? Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-03 22:13 +0000
  Re: Trivial question? Roedy Green <see_website@mindprod.com.invalid> - 2011-11-03 08:14 -0700
  Re: Trivial question? Roedy Green <see_website@mindprod.com.invalid> - 2011-11-03 08:15 -0700

csiph-web