[Vala] "Hello World", what is my mistake?
- From: "live\(vmars316\)" <vmars316 live com>
- To: <vala-list gnome org>
- Cc: Vernon Marsden <vmars316 live com>
- Subject: [Vala] "Hello World", what is my mistake?
- Date: Wed, 25 Apr 2012 19:54:41 -0500
Greets,
I am compiling the hello.gs example @ https://live.gnome.org/Genie#Hello_World
Code:
init
print "Hello_World"
Pls, what am i doing wrong?
See error msg below:
C:\vala-0.12\vmVala>hello.gs.bat 1>hello.gs.bat.out.txt
hello.gs:2.9-2.13: error: syntax error, expected declaration but got `print' wi
th previous end of line
print "Hello_World"
^^^^^
Yes, Last line of code is “new line” symbol.
Can anyone give me an example of simple *.gs code that works?
Thanks...Vernon
- www.vmars316.com
"All things in moderation, except for love and forgiveness."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]