12-03-2004, 08:27 PM
Fixed, download the lastest version: http://prdownloads.sourceforge.net/fbc/f...p?download (that's just fbc.exe)
Btw, that menu code is buggy, there's nothing to RESTORE, and the var "numbofchoices" doesn't exist (it's "numofchoices").
Also, you gotta change those chr$(0) to chr$(255), null's can't be part of strings, so inkey$ returns 255 instead of 0 with extended key codes - that's shown in the docs\keywords.txt and will be included in the docs/faq.
It's rather hard to know when you are joking, marzec, you should add more smiles or something.. you know, loads of different cultures mixed, a "thumbs up!" can mean "hey, it looks good" in some countries or "hey babe, lets f*ck".
Btw, that menu code is buggy, there's nothing to RESTORE, and the var "numbofchoices" doesn't exist (it's "numofchoices").
Also, you gotta change those chr$(0) to chr$(255), null's can't be part of strings, so inkey$ returns 255 instead of 0 with extended key codes - that's shown in the docs\keywords.txt and will be included in the docs/faq.
It's rather hard to know when you are joking, marzec, you should add more smiles or something.. you know, loads of different cultures mixed, a "thumbs up!" can mean "hey, it looks good" in some countries or "hey babe, lets f*ck".
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php