Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Tim Slattery Newsgroups: comp.lang.java.programmer Subject: Re: Hello World problem Date: Fri, 30 Nov 2012 12:34:42 -0500 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="70ffcd12c5dd21205ce42b46a9cea21b"; logging-data="4347"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZF1UAAt8RKWJBw292QLW5/wihDRO817I=" User-Agent: ForteAgent/7.00.32.1200 Cancel-Lock: sha1:UQRZ0z4ryZdxTAlEbS1Zbpy1lXg= Xref: csiph.com comp.lang.java.programmer:20026 John Dildy 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