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


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

Re: Help

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.help
Subject Re: Help
Date 2014-03-24 08:36 -0400
Organization A noiseless patient Spider
Message-ID <lgp8sk$vls$1@dont-email.me> (permalink)
References <803c64a0-66c7-48b8-b9d2-de5520db66a3@googlegroups.com>

Show all headers | 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