home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
comm
/
maxs
/
Max_Poll.lha
/
Max-Poll
/
Max-Poll.docs
< prev
next >
Wrap
Text File
|
1997-01-14
|
3KB
|
85 lines
Max-Poll
~~~~~~~~
(C) C.C.Wilson, Sysop of Amiga Phoenix BBS (Liverpool) (+44) 151 283 6406
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
This may be included on a CD compilation as long as
I am sent a copy of the CD it is to be included on.
Contact me on the BBS for address etc.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
What is it ?
~~~~~~~~~~~~
This program will let users vote on up to 20 topics, and also display
the results of voting via a bar-graph style percentage readout.
How / why ?
~~~~~~~~~~~
For fun :-)
Make a directory called Max-Poll in DOORS: and copy the program and
the data file to it. Run it as an ordinary door using function 34.
The questions need to be set up in the datafile as shown, taking seven
lines per question.
Four options ONLY are allowed, if you want less options, leave the
remainder blank. They will still be displayed from within the program
and if users want to vote for a blank they can (!)
------------------8<-SNIP----------------------
Do you lose track of time when you're on the computer ?
Shit - is it that late already ?
Never, i'm a good boy :)
What's a watch ?
What's a computer ?
2
2 0 0 0
------------------8<-SNIP----------------------
Line 1 is the question itself
Line 2 is option A>
Line 3 is option B>
Line 4 is option C>
Line 5 is option D>
Line 6 is the number of people who've answered that question
Line 7 holds the stats for that question.
NOTE: If you make new questions, make sure there are spaces between
the data on line 7 per the example, as the program will look
between certain spaces for the information. Nine spaces will
do nicely :-)
Try not to leave any blank lines (except the first) after the end of
the questions. I have tried to prevent the program from locking up,
but if you leave more than seven blank lines the program may go weird
:-}
The number of questions has been limited to 20 as all the information
in the datafile is loaded into the program when it starts, and then
re-written if anything changes. I limited the total questions to try
to limit memory constraints for large a voting conference.
Contacting me
~~~~~~~~~~~~~
My current email address is phoenix@mersinet.co.uk
BUT ! If my provider doesn't improve soon that may change.....