: [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
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.
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
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
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
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
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
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
-
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
...@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
: [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
11 matches
Mail list logo