Re: [Audyssey] Script error irritation

2010-03-25 Thread Jacob Kruger
: [Audyssey] Script error irritation Thanks philip. Hmmm, i thought I'd already included that parenthesis, obviously not. Beware the Grue! Dark. - Original Message - From: Philip Bennefall phi...@blastbay.com To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25

Re: [Audyssey] Script error irritation

2010-03-25 Thread Thomas Ward
Hi Dark, One thing that stands out right away is you have a space between the end of your statements and the semi-colon. You should never put a space before the semi-colon. To declare a variable you should write it like this. int hp = 100; Other than that nothing else stands out like a sore thumb.

Re: [Audyssey] Script error irritation

2010-03-25 Thread Thomas Ward
Hi, Oops! Shame on me. I missed that myself. Must be too early in the morning. Where's my coffee? Grr. On 3/24/10, Philip Bennefall phi...@blastbay.com wrote: Hi Dark, You simply missed to put a left parenthesis in the alert function call. Your code should be: int hp = 100 ; string

Re: [Audyssey] Script error irritation

2010-03-25 Thread dark
Subject: Re: [Audyssey] Script error irritation Hi Dark, One thing that stands out right away is you have a space between the end of your statements and the semi-colon. You should never put a space before the semi-colon. To declare a variable you should write it like this. int hp = 100; Other

Re: [Audyssey] Script error irritation

2010-03-25 Thread Thomas Ward
Hi Dark, Unfortunately, I've got to go soon so I don't have much time to go over this with you in detail right now, but I did see some syntactical errors in your code.For example, you consistantly used a semi-colon after your If and Else statements. That's not legal code. Here is an example of

Re: [Audyssey] Script error irritation

2010-03-25 Thread dark
thomasward1...@gmail.com To: Gamers Discussion list gamers@audyssey.org Sent: Thursday, March 25, 2010 10:52 AM Subject: Re: [Audyssey] Script error irritation Hi Dark, Unfortunately, I've got to go soon so I don't have much time to go over this with you in detail right now, but I did see some

[Audyssey] Script error irritation

2010-03-24 Thread dark
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

Re: [Audyssey] Script error irritation

2010-03-24 Thread Reinhard Stebner
Why do you have the ; in front of main? -Original Message- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of dark Sent: Wednesday, March 24, 2010 6:12 PM To: Gamers@audyssey.org Subject: [Audyssey] Script error irritation Hi. Well I've started

Re: [Audyssey] Script error irritation

2010-03-24 Thread dark
- From: Reinhard Stebner rwsteb...@aol.com To: 'Gamers Discussion list' gamers@audyssey.org Sent: Wednesday, March 24, 2010 10:22 PM Subject: Re: [Audyssey] Script error irritation Why do you have the ; in front of main? -Original Message- From: gamers-boun...@audyssey.org

Re: [Audyssey] Script error irritation

2010-03-24 Thread Philip Bennefall
...@xgam.org To: Gamers@audyssey.org Sent: Wednesday, March 24, 2010 11:12 PM 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

Re: [Audyssey] Script error irritation

2010-03-24 Thread dark
: [Audyssey] Script error irritation Hi Dark, You simply missed to put a left parenthesis in the alert function call. Your code should be: int hp = 100 ; string my_health = hello, my hp is currently ; ;void main ( ) { alert(window, my_health + hp); } Kind regards, Philip Bennefall - Original