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


Groups > comp.lang.java.help > #2242

Re: <identifier> expected

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.help
Subject Re: <identifier> expected
Date 2012-11-09 09:18 -0500
Organization A noiseless patient Spider
Message-ID <k7j3bi$apc$1@dont-email.me> (permalink)
References <3381993a-a524-4302-b0f2-e1e3ffb1a6b6@googlegroups.com> <k7j0et$oal$1@dont-email.me> <8ae1dc69-308e-4c40-94cd-c422629a6a18@googlegroups.com> <k7j2ak$48h$1@dont-email.me> <1654e9d6-505d-4ffe-882b-632b75ca3388@googlegroups.com>

Show all headers | View raw


On 11/9/2012 9:11 AM, Вадим Воеводин wrote:
> пятница, 9 ноября 2012 г., 21:00:52 UTC+7 пользователь Eric Sosman написал:
>> On 11/9/2012 8:42 AM, Вадим Воеводин wrote:
>>> пятница, 9 ноября 2012 г., 20:29:02 UTC+7 пользователь Eric Sosman написал:
>>>> On 11/9/2012 3:55 AM, v.vadim.se@gmail.com wrote:
>>>>> I got error in the following piece of code:
>>>>> [...]
>>>>>            var4.<init>(TFC_Settings.getIntFor(config, "item", "SeedsWheat", var1), 0);          ### THIS
>>>>                  ^^^^^^
>>
>>>>        If you're trying to invoke a constructor, use `new'.  If
>>>> you're trying to do something else, explain what you're trying
>>>> to do.
>>
>>> All i want is to fix error, that i have, then recompiling. See screenshot:
>>> http://ipic.su/img/img7/fs/kiss_2kb.1352468497.png
>>
>>       To get rid of the error, delete the line of code.
>>
>>       If you wanted that line to do something, explain what you
>> wanted it to do.  As things stand, the line is meaningless.
>
> I already tried to delete line, next thing is that after that a get 100+ errors after that line, i think it doing something, but i don't know, what exacly.

     I do not know how to help you, because I do not know what
you want the code to do.  Sometimes a piece of code "almost"
makes sense, and I can guess what was intended and suggest a
change.  But I'm unable to imagine what your code is supposed
to do, so I don't know what kind of fix to suggest.  Sorry.

-- 
Eric Sosman
esosman@comcast-dot-net.invalid

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


Thread

<identifier> expected v.vadim.se@gmail.com - 2012-11-09 00:55 -0800
  Re: <identifier> expected Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 08:28 -0500
    Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 05:42 -0800
      Re: <identifier> expected Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 09:00 -0500
        Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 06:11 -0800
          Re: <identifier> expected Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 09:18 -0500
            Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 07:10 -0800
          Re: <identifier> expected Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-11-09 10:15 -0500
            Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 07:37 -0800
              Re: <identifier> expected Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-11-09 10:45 -0500
                Re: <identifier> expected Вадим Воеводин <v.vadim.se@gmail.com> - 2012-11-09 07:54 -0800
  Re: <identifier> expected Roedy Green <see_website@mindprod.com.invalid> - 2012-11-10 11:21 -0800

csiph-web