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


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

Re: Help

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.help
Subject Re: Help
Date Mon, 24 Mar 2014 08:36:35 -0400
Organization A noiseless patient Spider
Lines 25
Message-ID <lgp8sk$vls$1@dont-email.me> (permalink)
References <803c64a0-66c7-48b8-b9d2-de5520db66a3@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 24 Mar 2014 12:36:36 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="32444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+TkEJkXATQEgYVlBp91P9"
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
In-Reply-To <803c64a0-66c7-48b8-b9d2-de5520db66a3@googlegroups.com>
Cancel-Lock sha1:REfZT/vCqTRnn986qSTQvbXbYCw=
Xref csiph.com comp.lang.java.help:2929

Show key headers only | View raw


On 3/24/2014 6:32 AM, Isaac Chan wrote:
> Anyone knowing what is happening below?
> It keeps bumping out the <identifier> expected error.

     For future reference: It would have been helpful if you'd
pointed out which line provoked the error message.  It would
also be a good idea to quote the *exact* and *complete* text
of error messages that puzzle you; the fact that you're puzzled
proves you don't know which bits are safe to omit.

     Oh, yeah: Adopt a more reasonable formatting style.  If
this sample had been a few lines longer I'd have just said
"Too much bother" and skipped it.  But I'm in a good mood
today, so ...

     There are a *lot* of things wrong with your code, but the
immediate issue the compiler objects to is

>   private String Simplify(String cal ,char st ,char nd ,char new)

Take a close look at the name of the rightmost parameter.

-- 
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

Help Isaac Chan <isaacchanszelong@gmail.com> - 2014-03-24 03:32 -0700
  Re: Help Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-24 08:36 -0400
  Re: Help Joerg Meier <joergmmeier@arcor.de> - 2014-03-24 14:00 +0100
    Re: Help Roedy Green <see_website@mindprod.com.invalid> - 2014-03-25 08:16 -0700
      Re: Help Roedy Green <see_website@mindprod.com.invalid> - 2014-03-26 17:50 -0700
  Re: Help Isaac Chan <isaacchanszelong@gmail.com> - 2014-03-25 06:34 -0700
  Re: Help Isaac Chan <isaacchanszelong@gmail.com> - 2014-03-25 06:54 -0700
    Re: Help Roedy Green <see_website@mindprod.com.invalid> - 2014-03-25 08:17 -0700
    Re: Help Knute Johnson <eternal@knutejohnson.com> - 2014-03-25 08:55 -0700
    Re: Help Lew <lewbloch@gmail.com> - 2014-03-25 15:12 -0700

csiph-web