Annotation of loncom/html/adm/help/tex/numerical_wrong_answers.tex, revision 1.1

1.1     ! www         1: \label{numerical_wrong_answers}
        !             2: The quick explanation is you need to provide an array of incorrect
        !             3: values to the <numericalresponse> throught the 'incorrect' attribute.
        !             4: You need to provide at least as many incorrects as 1 less then the
        !             5: number of bubbles on the exam. You can provide more if you want to.
        !             6: 
        !             7: (in Edit mode there should be an 'Incorrect Answers:' field you can
        !             8: fill in)
        !             9: 
        !            10: Minimal example problem:
        !            11: 
        !            12: <problem>
        !            13:   <script type="loncapa/perl">
        !            14:     $answer=1;
        !            15:     @incorrects=(2,3,4,5,6,7,8);
        !            16:   </script>
        !            17:   <startoutext />
        !            18:     Correct answer is 1. <br />
        !            19:   <endouttext />
        !            20:   <numericalresponse answer="$answer" incorrect="@incorrects">
        !            21:     <textline />
        !            22:   </numericalresponse>
        !            23: </problem>
        !            24: 
        !            25: Let me know if any this fails to work for you.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>