I think the issue might be that the variable type String should be all lower case:
string my_name = "Harmony Neil";

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

----- Original Message ----- From: "Harmony Neil" <harmon...@googlemail.com>
To: "'Gamers Discussion list'" <gamers@audyssey.org>
Sent: Monday, April 12, 2010 4:29 PM
Subject: [Audyssey] BGT Script Errors


Hellow,

I've been looking at the bgt scripting stuff.

I managed to do the first few examples fine, but then having trouble with
the example about string variables.  I copied the example

String my_name="Harmony Neil"; obviously putting my own name in there then
the next line alert("My name is", my_name); and I got the following error.

Line: 2 (6)

Error: Expected identifier

Does anyone know how to fix this annoying problem? If it's expected, why is
it classed as an error?

Thanks for any advice,

Harmony.

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
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/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5021 (20100412) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5021 (20100412) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
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/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to