Re: frustrating bgt error
Re: frustrating bgt error hello, Ive been writing the code for a small program that checks the Sound devices installed on the users Computer. ist basicly set up to make the user go through a really annoying set of alert Messages untill the actual function for finding the Sound devices
Re: frustrating bgt error
Re: frustrating bgt error Missing semicolon on the third line. Missing definition of list_sound_devices, so even if you fix that its still not going to compile.Also, posting any error messages you get along with the program youre asking us to look over is a really, really big help in many
Re: frustrating bgt error
Re: frustrating bgt error And, doesnt list_sound_devices return a string array? I dont remember if BGT can concatenate those to strings natively.If it doesnt, this function is most of the work:string arraystring(string[] str) { string ret=[; for(uint i=0; istr.length(); i++) { ret += str[i
Re: frustrating bgt error
Re: frustrating bgt error I know, I never wanted to put it in. URL: http://forum.audiogames.net/viewtopic.php?pid=198058#p198058 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin
Re: frustrating bgt error
2014-12-22
Thread
AudioGames . net Forum — Developers room : audiogames . net fan via Audiogames-reflector
Re: frustrating bgt error That code wont compile or run unless you define the random_function() function. URL: http://forum.audiogames.net/viewtopic.php?pid=198090#p198090 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin
Re: frustrating bgt error
Re: frustrating bgt error hello, untill now Ive taken a break from learning how to code, but now ive started again. Ive written a peace of code I cant seem to run. It Looks correct to me, if anyone more experienced can please provide some advice on this code?void main(){int awesomeness=100
Re: frustrating bgt error
Re: frustrating bgt error alert(hey!, I got something to say. Im so awesome, my awesomeness is aproaching... + awesomeness + !);Dont put the quotes around the comma after hey, i.e leave it in the string. Also, what is the implementation of random_function? URL: http
Re: frustrating bgt error
Re: frustrating bgt error hmm, whyd you just ask me that? just curious. URL: http://forum.audiogames.net/viewtopic.php?pid=198000#p198000 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin
Re: frustrating bgt error
2014-12-21
Thread
AudioGames . net Forum — Developers room : audiogames . net fan via Audiogames-reflector
Re: frustrating bgt error I believe he is asking where is random function declared? In that code, there is no function entitled random_function() URL: http://forum.audiogames.net/viewtopic.php?pid=198001#p198001 ___ Audiogames-reflector
Re: frustrating bgt error
Re: frustrating bgt error oh and just so you guys know, the code I posted on here is actually not for any games I am planning to make, at least not very soon. once I fully get the Hang of programming, I might release them. URL: http://forum.audiogames.net/viewtopic.php?pid=196489#p196489
Re: frustrating bgt error
Re: frustrating bgt error It works fine for me, if I add #include dynamic_menu.bgt to the top.It exits after the menu, but that appears to be expected. URL: http://forum.audiogames.net/viewtopic.php?pid=196235#p196235 ___ Audiogames
Re: frustrating bgt error
Re: frustrating bgt error Is the error pointing to the alert, by chance, an unclosed string literal, or an expected ) or ;? You might have an open string somewhere above it, or something like that. URL: http://forum.audiogames.net/viewtopic.php?pid=196157#p196157
Re: frustrating bgt error
Re: frustrating bgt error okay, now for some reason alerts dont work any more, even when I coppy them from the Manuals. here is an alert I wroat.alert(random alert, you have been found guilty of having opened this alert and shall be terminated!); URL: http://forum.audiogames.net
Re: frustrating bgt error
Re: frustrating bgt error Hi,I recommend at least declaring all those variables higher up in the function, before you do anything else. You can declare them there as well but thats not strictly necessary.What doesnt work about your alerts, do they not fire or do you get an error? URL
Re: frustrating bgt error
Re: frustrating bgt error The alert syntax you have written seems to be correct, so the error possibly could be in regards to another area of your code. If you cant find the problem, try posting the entire file again for assistance (if it isnt too large of course). URL: http
Re: frustrating bgt error
Re: frustrating bgt error I get a compilation error when trying to write the alert. the error line and character it tells me match the line where the alert is. URL: http://forum.audiogames.net/viewtopic.php?pid=196000#p196000 ___ Audiogames
frustrating bgt error
frustrating bgt error hello, I have just gotten into the Business of coding, and have the language tutorial and everything else I Need open as i write this message. Problem is, I have al lready written a bit of code working on a black jack game. however, the game keeps throwing up
Re: frustrating bgt error
Re: frustrating bgt error Try removing the right brace after your first welcome alert message and moving it to the end of the file. The right brace ended the main function. This confused the compiler, because the right brace ended the main function, but there was still code afterwards