some bgt errors that i couldn't debug

hello guys. i was experementing with bgt, and i struggled with errors. as soon as i try to fix one, two others apeer, and when i try to change a string, errors come and blow my mind down, then i go like, what in the world of pikacchus is rong with this thing. any ways here is the code
string name;
void main() {
name=input_box("hello","please enter your name in the box bellow");
if(name=="bla"); {
alert("hey you","that's not your name");
exit();
}
alert("hey"+" "+name+","+"how are you doing today");
}
and here's the error pac that made me see the sun of the night
File: C:\Users\ilyas\practise1.bgt
On line: 2 (1)
Information: Compiling void main()

File: C:\Users\ilyas\practise1.bgt
On line: 4 (16)
Line: if(name=="bla"); {
Error: If with empty statement

File: C:\Users\ilyas\practise1.bgt
On line: 8 (1)
Line: alert("hey"+" "+name+","+"how are you doing today");
Error: No matching signatures to 'alert(string)'

File: C:\Users\ilyas\practise1.bgt
On line: 8 (1)
Information: Candidates are:

File: C:\Users\ilyas\practise1.bgt
On line: 8 (1)
Information: bool alert(const string&in, const string&in)

hope i figure it out.
oh, and note, i didn't learn from the bgttutorial. if that helps
goodday evry one

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : ilyas booneehee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ty via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ilyas booneehee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ilyas booneehee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ilyas booneehee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector

Reply via email to