Rev 11753 | Rev 13419 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11753 | Rev 12122 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | <h3 id="freestyle">Freestyle answers</h3> |
69 | <h3 id="freestyle">Freestyle answers</h3> |
70 | <p>A freestyle answer is one which is typed by the user. |
70 | <p>A freestyle answer is one which is typed by the user. |
71 | Up to $answerlim simultaneous freestyle answers can be asked for one |
71 | Up to $answerlim simultaneous freestyle answers can be asked for one |
72 | exercise, under the current implementation.</p> |
72 | exercise, under the current implementation.</p> |
73 | The syntax is as follows: |
73 | The syntax is as follows: |
74 | < |
74 | <code> |
75 | \answer{ |
75 | \answer{Text}{\reponse}{type=...}{option=...}{weight=...} |
76 | </ |
76 | </code> |
77 |
|
77 | <p>The last 2 fields are optional. |
- | 78 | The length of <span class="tt">Text</span> is limited |
|
- | 79 | to $max_promptlen characters. |
|
78 | 80 | </p> |
|
79 | <h3>The parameter <span class="tt wims_code_words">type</span></h3> |
81 | <h3>The parameter <span class="tt wims_code_words">type</span></h3> |
80 | <p> |
82 | <p> |
81 | Each freestyle answer can independently take one of the following types. |
83 | Each freestyle answer can independently take one of the following types. |
82 | </p> |
84 | </p> |
83 | !for k=1 to 2 |
85 | !for k=1 to 2 |