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


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

Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA")

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA")
Date 2015-08-08 10:39 -0400
Organization A noiseless patient Spider
Message-ID <mq548d$q9q$1@dont-email.me> (permalink)
References <ebc4e4ca-b5e1-4da2-8583-1a668606cb2d@googlegroups.com>

Show all headers | View raw


On 8/8/2015 9:53 AM, srcommunicationsvja@gmail.com wrote:
>   switch(true){

     Point #1: This `switch' can never, never work, no matter what
comes before or after it.  (Well, if `/*' comes before it and `*/'
after it, the whole thing is a comment and "works" by doing nothing
at all -- but other than that, this `switch' is completely broken.)
Go back to your textbook, and re-read what `switch' is and does.

     Point #2: Please don't start three (and counting!) distinct
threads about the exact same problem -- and especially don't start
three (and counting!) threads in a fourteen-minute span!

     Point #3: When you're having a problem, don't just show your
failed attempt.  You ask for help with "this error," then you post
code that has many, many errors.  How are we to know which of them
you need help with?  Tell us more about your problem, tell us what
you want the code to do, and don't force us to guess.  Be explicit,
accurate, and complete: My crystal ball is in the shop.

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

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


Thread

PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") srcommunicationsvja@gmail.com - 2015-08-08 06:53 -0700
  Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-08 10:39 -0400
  Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Eternal Hope <laughingspam99@gmail.com> - 2015-08-09 08:53 +0100
    Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") e.d.programmer@gmail.com - 2015-08-10 05:36 -0700
      Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-10 09:17 -0400
        Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") e.d.programmer@gmail.com - 2015-08-10 07:56 -0700
          Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-10 11:50 -0400
        Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Arne Vajhøj <arne@vajhoej.dk> - 2015-08-12 20:51 -0400
          Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-13 08:25 -0400
            Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") leif.roar@dimnakorr.com - 2015-08-13 08:43 -0500
      Re: PLEASE SOLVE THIS ERROR (case 1:from=="VIJAYAWADA") Eternal Hope <laughingspam99@gmail.com> - 2015-08-10 15:39 +0100

csiph-web