Re: error things
Oh no. Declaring a function and calling it are two different things. A function call naturally needs to be done from within an outer function, even if it would be just the main one, but a function declaration just cant be done inside a function, and what you did
error things
hello, today I was messing around with the example games shown in the bgt help system. However when I got to the point in a test thingy that I was working on where I had to define what the menu options did, I got compilation errors left and right. I tried all sorts of ways
Re: error things
Yeah, its complaining about the missing functions. A neat trick Ive discovered over the years - you can define the functions just with the expected signature and no code at all between the left and right brace. It will go through the compiler and you can test what code you
Re: error things
when defining the function for keyboard practice, the following happened.code:#include dynamic_menu.bgtsound music;sound error;sound[] tone(4);int menu_choice;tts_voice voice;void main(){tone[0].load(1.wav);tone[1].load(2.wav);tone[2].load(3.wav);tone[3].load(4.wav