Oops! I forgot that, yes you must remove the semicolon from the function
definition line as that's causing the run error too. I apologize, I was
on my iPhone and missed that apparently :)
Take care.
On 2/9/2012 11:00 AM, Rynhardt Kruger wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
You must remove the semicolon ";" from the first line. A function definition
doesn't have a semicolon at the end.
Take care,
Rynhardt
* Il primo cittadino<[email protected]> [120209 16:19]:
Hi. I'm at the very first step on it.
Why this little script doesn't work?
It gives me an error: "{" Unexpected token.
***
void main();
{sound suono;
suono.load("1sec_beep.ogg");
suono.play();
}
***
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBAgAGBQJPM+24AAoJEPVYW3SdPtfh5owIAJqOStWna1ZjpyEPSJscj0B2
G4utNQjp4hb6bTJieqFjFCJn366IRsDjFk9QWbps+fXrh9kkQtKks9gBW5tXQLZx
bZB+z0wkFE63Rnvj7TLL2XNDVf0aIeN/Op+Os9D6atTkSnsx6gqrORlcpzh4DO+V
dM06pdPskzAOslqQ9iY4KqOg+TBVg+iAW9PB5MOCFE+8ajbkFZKext27d1W05XwO
O196nc8uRewe9SnLV8BK2uT0hwqzFXcOCuqzTmWFUdJoKkt/0d+1N6LbLo4Aqejb
pR1vlbJ92Y563LAKlb8MOFpoWxvcDyGLt5FU0Zs3N/pyAiZjWOJlIAFmNOHykS8=
=OwwI
-----END PGP SIGNATURE-----
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].
--
Kevin J. Andrews
Email: [email protected]
"A man who never made a mistake never tried anything new."-Albert Einstein
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].