| Author |
Message |
Insectoid

|
Posted: Sun Oct 27, 2013 7:31 pm Post subject: RE:buttons |
|
|
It means you're trying to declare a procedure inside a loop, if statement, or another procedure.
| code: | %bad!
loop
procedure foo
end foo
end loop
%bad!
for x : 1..5
procedure bar
end bar
end for
%bad!
procedure baz
procedure bleh
end bleh
end baz
%good!
procedure good
end good |
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 7:41 pm Post subject: RE:buttons |
|
|
| those are the only errors. everything else is fine. can someone please tell me what that error means? |
|
|
|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 7:57 pm Post subject: RE:buttons |
|
|
| ok. so i cant have the whole thing loop, and work with the buttons? |
|
|
|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 7:59 pm Post subject: RE:buttons |
|
|
| it doesnt work without the loops |
|
|
|
|
 |
Nathan4102
|
Posted: Sun Oct 27, 2013 8:03 pm Post subject: RE:buttons |
|
|
| Don't loop your whole program. Instead, just loop your GUI.ProcessEvent, and anything else you need. |
|
|
|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 8:08 pm Post subject: RE:buttons |
|
|
| but i had to make the program so that the user could run the program over again without having to actually click on "run" on the "editing page" so i used a big loop. and if i take that away (already tried) nothing works. it finishes the program right away |
|
|
|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 8:21 pm Post subject: RE:buttons |
|
|
it only reruns the type of quiz they just took. it doesn't let them choose a different type.  |
|
|
|
|
 |
Raknarg

|
Posted: Sun Oct 27, 2013 8:27 pm Post subject: RE:buttons |
|
|
| You can loop your loop. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 8:28 pm Post subject: RE:buttons |
|
|
| Ok ! finally it works!!!!! but the rerun is messed up. |
|
|
|
|
 |
hgrad98
|
Posted: Sun Oct 27, 2013 8:29 pm Post subject: RE:buttons |
|
|
| and when you select a category, the buttons dont dissapear |
|
|
|
|
 |
hgrad98
|
Posted: Mon Oct 28, 2013 3:51 pm Post subject: RE:buttons |
|
|
| ok i got them to dissapear after the selection. now i just have to make it so they could retry it. |
|
|
|
|
 |
|