At 7:32 PM -0800 12/29/2000, Ellen C. Largo wrote:
>Hello Lists,
> Our team is working on a project which have an Evaluation
>Exam in it. In this exam, there are questions which have more than
>one possible/correct answer. How can i check if the user has any of
>the correct answer and how do i list down the correct answers. I
>was able to make the program running, with the help of the sample
>Test program from the book of Gary Rosenzweig (thanks a million for
>this book), but with one answer only for each question.
> Any help with this problem is very very highly appreciated.
> Thanks in advance, for your help lingoists :-)
How are you storing the answers now? As strings or as lists? Lists
would be easier- you can just use a repeat loop to step through the
list to see if any of the list items match the answer.
If you are storing the answer in a string, then you can do somewhat
the same thing but use a special character to separate items, then
use that char as the item delimiter -or even easier - just have each
answer on a separate line and then test if each line = the answer.
--
Roy Pardi
---------------------------------------------------------------
Contract Lingo Programer and Multimedia Developer
[EMAIL PROTECTED]
---------------------------------------------------------------
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]