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


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

Re: Hello World problem

From Tim Slattery <Slattery_T@bls.gov>
Newsgroups comp.lang.java.programmer
Subject Re: Hello World problem
Date 2012-11-30 12:34 -0500
Organization A noiseless patient Spider
Message-ID <acrhb89d3d06aecnhjul2teghkl5ic27df@4ax.com> (permalink)
References <fccd9f50-b42c-4f67-ac63-69af96c21e96@googlegroups.com>

Show all headers | View raw


John Dildy <jdildy85@gmail.com> wrote:

>I have entered the Hello World file correctly but I am told I am missing a semicolon in line 1 when I attempt to run the file.
>
>Here is my script:
>
>https://script.google.com/d/1Agf_C5ERSvWtsMt4LigAxCDTpj598IkMSd4reLRpefMf83xbcyuMo9iI/edit
>
>Anyone able to help me understand where exactly I have to put the semi colon at?

Here's what I see there:

function myFunction() {
  
}

That looks like JavaScript, not Java. They are very different things.
Which are you actually trying to use?

Assuming it's JavaScript, you have an empty function. It looks to me
like it should run, but it wouldn't do anything. How did you try to
run it?

If you are trying to use JavaScript, this conversation should move to
comp.lang.javascript

-- 
Tim Slattery
Slattery_T@bls.gov

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


Thread

Hello World problem John Dildy <jdildy85@gmail.com> - 2012-11-30 07:19 -0800
  Re: Hello World problem FredK <fred.l.kleinschmidt@gmail.com> - 2012-11-30 07:47 -0800
  Re: Hello World problem Tim Slattery <Slattery_T@bls.gov> - 2012-11-30 12:34 -0500
  Re: Hello World problem Roedy Green <see_website@mindprod.com.invalid> - 2012-11-30 10:31 -0800
  Re: Hello World problem John Dildy <jdildy85@gmail.com> - 2012-12-01 18:45 -0800
    Re: Hello World problem Arne Vajhøj <arne@vajhoej.dk> - 2012-12-01 22:39 -0500
      Re: Hello World problem Martin Gregorie <martin@address-in-sig.invalid> - 2012-12-02 11:05 +0000
        Re: Hello World problem Arne Vajhøj <arne@vajhoej.dk> - 2012-12-03 22:43 -0500
          Re: Hello World problem Martin Gregorie <martin@address-in-sig.invalid> - 2012-12-04 22:43 +0000
            Re: Hello World problem Arne Vajhøj <arne@vajhoej.dk> - 2012-12-04 19:09 -0500
              Re: Hello World problem Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-12-06 15:52 -0600
                Re: Hello World problem Arne Vajhøj <arne@vajhoej.dk> - 2012-12-07 20:24 -0500
            Re: Hello World problem Gene Wirchenko <genew@telus.net> - 2012-12-13 08:49 -0800
    Re: Hello World problem Joerg Meier <joergmmeier@arcor.de> - 2012-12-02 12:19 +0100
  Re: Hello World problem John Dildy <jdildy85@gmail.com> - 2012-12-02 17:51 -0800
    Re: Hello World problem "Charles Hottel" <chottel@earthlink.net> - 2012-12-02 23:17 -0500
    Re: Hello World problem Joerg Meier <joergmmeier@arcor.de> - 2012-12-03 12:26 +0100
    Re: Hello World problem Roedy Green <see_website@mindprod.com.invalid> - 2012-12-05 14:30 -0800
  Re: Hello World problem John Dildy <jdildy85@gmail.com> - 2012-12-05 14:44 -0800
    Re: Hello World problem Martin Gregorie <martin@address-in-sig.invalid> - 2012-12-05 23:17 +0000
  Re: Hello World problem John Dildy <jdildy85@gmail.com> - 2012-12-06 15:27 -0800
    Re: Hello World problem Lew <lewbloch@gmail.com> - 2012-12-06 15:29 -0800
      Re: Hello World problem John Dildy <jdildy85@gmail.com> - 2012-12-06 17:17 -0800

csiph-web