Author |
Message |
didsbub
|
Posted: Fri Dec 09, 2005 10:40 am Post subject: School Violence Survey |
|
|
A violence in schools survey for grade 10 computers
Description: |
|
Download |
Filename: |
Violence In Schools Survey.t |
Filesize: |
10.29 KB |
Downloaded: |
225 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Fri Dec 09, 2005 10:57 am Post subject: (No subject) |
|
|
I can't view statistics before filling out my answers, it just crashes.
And once I pick an choice, I can't change it
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
didsbub
|
Posted: Fri Dec 09, 2005 12:28 pm Post subject: (No subject) |
|
|
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
|
Posted: Fri Dec 09, 2005 12:47 pm Post subject: (No subject) |
|
|
you shouldn't do that. you should put the disable option in comments so they have a choice
|
|
|
|
|
|
didsbub
|
Posted: Fri Dec 09, 2005 12:49 pm Post subject: (No subject) |
|
|
Why would I do that???
I only want them to answer each question once
|
|
|
|
|
|
Tony
|
Posted: Fri Dec 09, 2005 12:55 pm Post subject: (No subject) |
|
|
what if I've accidentally picked an option, but I really ment to click on another?
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
didsbub
|
Posted: Fri Dec 09, 2005 2:09 pm Post subject: (No subject) |
|
|
Good point!!!
|
|
|
|
|
|
nastynika
|
Posted: Tue Dec 13, 2005 10:57 am Post subject: (No subject) |
|
|
thats what the reset answers button is for
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
timmytheturtle
|
Posted: Tue Dec 13, 2005 11:00 am Post subject: (No subject) |
|
|
then you would have to re-choose all the questions
|
|
|
|
|
|
nastynika
|
Posted: Tue Dec 13, 2005 1:48 pm Post subject: (No subject) |
|
|
what are u too lazy that you just cant re-answer 5 questions
|
|
|
|
|
|
didsbub
|
Posted: Tue Dec 13, 2005 4:01 pm Post subject: (No subject) |
|
|
You just have to make sure your selecting the right answers, its not that hard. It's either a yes or no
|
|
|
|
|
|
Albrecd
|
Posted: Tue Dec 13, 2005 5:12 pm Post subject: (No subject) |
|
|
Sylvester Said:
Quote: you should put the disable option in comments so they have a choice
Didsbub Replied
Quote: 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
|
Posted: Sat Dec 17, 2005 7:03 pm Post subject: (No subject) |
|
|
code: | 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?
code: | var radioButtons : array 1 .. 5, 1 .. 3 of int |
Your code could also seriously use some empty lines.
I see things like:
code: | if answer = "yes" then
end if |
And I just scratch my head. Why have this?
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?
|
|
|
|
|
|
|