Why do you have the ; in front of main? 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of dark
Sent: Wednesday, March 24, 2010 6:12 PM
To: [email protected]
Subject: [Audyssey] Script error irritation

Hi. 

Well I've started on writing a script from scratch rather than using the
examples. 

I thought the first step in creating a symple turn based combat game was
getting the game to display the characters' hp, ---- but it's not working
for some reason and I'm not exactly certain why. 

Here's the code: 

int hp = 100 ; 
string my_health = "hello, my hp is currently" ;
;void main ( ) 
{
alert  "window", my_health + hp); 
}
---
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://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].


---
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://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].

Reply via email to