
-----------------------------------
didsbub
Fri Dec 09, 2005 10:40 am

School Violence Survey
-----------------------------------
A violence in schools survey for grade 10 computers

-----------------------------------
Tony
Fri Dec 09, 2005 10:57 am


-----------------------------------
I can't view statistics before filling out my answers, it just crashes.

And once I pick an choice, I can't change it :?

-----------------------------------
didsbub
Fri Dec 09, 2005 12:28 pm


-----------------------------------
The point of this program is for a bunch of people to take the survey before viewing the statistics. I disabled the buttons so you could only answer each question once.

-----------------------------------
sylvester-27
Fri Dec 09, 2005 12:47 pm


-----------------------------------
you shouldn't do that. you should put the disable option in comments so they have a choice

-----------------------------------
didsbub
Fri Dec 09, 2005 12:49 pm


-----------------------------------
Why would I do that???
I only want them to answer each question once

-----------------------------------
Tony
Fri Dec 09, 2005 12:55 pm


-----------------------------------
what if I've accidentally picked an option, but I really ment to click on another?

-----------------------------------
didsbub
Fri Dec 09, 2005 2:09 pm


-----------------------------------
Good point!!!

-----------------------------------
nastynika
Tue Dec 13, 2005 10:57 am


-----------------------------------
thats what the reset answers button is for

-----------------------------------
timmytheturtle
Tue Dec 13, 2005 11:00 am


-----------------------------------
then you would have to re-choose all the questions

-----------------------------------
nastynika
Tue Dec 13, 2005 1:48 pm


-----------------------------------
what are u too lazy that you just cant re-answer 5 questions

-----------------------------------
didsbub
Tue Dec 13, 2005 4:01 pm


-----------------------------------
You just have to make sure your selecting the right answers, its not that hard. It's either a yes or no

-----------------------------------
Albrecd
Tue Dec 13, 2005 5:12 pm


-----------------------------------
Sylvester Said:
you should put the disable option in comments so they have a choice

Didsbub Replied
Why would I do that??? 
I only want them to answer each question once

If you get rid of the Disable as Sylvester said, the users would still only be able to answer once to each question.

-----------------------------------
wtd
Sat Dec 17, 2005 7:03 pm


-----------------------------------
var radioButton : array 1 .. 3 of int
var radioButton2 : array 1 .. 3 of int
var radioButton3 : array 1 .. 3 of int
var radioButton4 : array 1 .. 3 of int
var radioButton5 : array 1 .. 3 of int

If you're going to do things this way, why isn't "radioButton" "radioButton1"?

Or, what about using a multi-dimensional array?

var radioButtons : array 1 .. 5, 1 .. 3 of int

Your code could also seriously use some empty lines.

I see things like:

if answer = "yes" then
end if

And I just scratch my head.  Why have this?

for cnt : 1 .. 1

What is "cnt"?  Is it "count"?  If so, what is it counting, and why was it abbreviated?  

You have "label1", "label2", etc.  Why not have these as an array?

Actually, these variables never get used again, so why bother having them at all?
