Where did you get those blocks?
There mine
Are you sure? It sounds like you want to copywrite someone else, if they are someone else's than talk to them they would most likely help break it down for you.
- Junko
So you want us to explain something that you yourself coded?
It would help you understand what you coded if you tried to explain to us step by step what you were thinking each block was supposed to do.
Start at the top and work your way down.
Also explain what each variable is supposed to hold, and how it changes its value through its lifetime.
I see one thing from the blocks.
MLB is short for Major League Baseball, and you have a list of 10 US city names, that might be names of cities with Major League Baseball teams.
This might be out of some kind of matching quiz, where you have logo images, and you have to match them against city names.
Sorry for jumping to a conclusion I looked through your Account and you're not lying. I should probably leave @ABG to do this; he is the power user.
No, feel free to jump in.
I have no special access to what is between the ears of this thread's OP.
@Logan_Berg Is the goal of this a trivia program? is it desighned to cycle through the awnsers?
-Junko
yes, I have a test on it and want to know what each thing does. It is a MLB Quiz, I just don't understand my procedure and how it works
and yes
Here is some quiz related study materials
Bug: your cycling program counts up based on score. This could get really ineffective and erratic why do you change answer based on score? it would add up in patterns of chaos:
You would be changing the correct answer doing this. A Beter idea for a trivia program would be have:
Lists for answers (in all capitols)
and you would have a global variable called: Question Every time a button was pressed you would check a textbox and see if the textbox capitolized matched the answer, The answer index would be the question variable. If they match then you add an amount to score AND you would also affect question by one no matter what
_Junko
You would also do the same with questions just without score changing.
That is reinventing the local variable