Re: frustrating bgt error
okay here is my code again. strangely I didn't modify anything in the alert sections, but it gave me these Errors.
code:
void main
{
alert("wellcome to.", "cm black jack, version 1.0");
string cards="card1, card2";
int card1=random(1, 10);
int card2=random(1, 10);
string message_string="Your two starting cards are " + card1 + " and " + card2 + ". hit okay to continue.";
alert("Your cards", message_string);
errors:
File: F:\downloads\testing\cm black jack\cm black jack.bgt
On line: 3 (1)
Line: alert("wellcome to.", "cm black jack, version 1.0");
Error: Expected one of: get, set, }
File: F:\downloads\testing\cm black jack\cm black jack.bgt
On line: 3 (1)
Line: alert("wellcome to.", "cm black jack, version 1.0");
Error: Instead found 'alert'
File: F:\downloads\testi
ng\cm black jack\cm black jack.bgt
On line: 8 (6)
Line: alert("Your cards", message_string);
Error: Expected identifier
File: F:\downloads\testing\cm black jack\cm black jack.bgt
On line: 8 (6)
Line: alert("Your cards", message_string);
Error: Instead found '('
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector