Subversion Repositories wimsdev

Rev

Rev 14620 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2.  
  3.  <b>Raw text.</b>
  4.  (names: <span class="tt wims_code_words">raw</span>)
  5.  <br>
  6.  A text input to be compared with the given correct answer. The following options
  7.  control how the texts are transformed before being compared. When no option
  8.  is given, only the leading and trailing spaces are removed before comparison.
  9.  So be careful when use this type: by default, the answer will be considered
  10.  false even if there is just one more space character! It is provided
  11.  mainly for authors who want to manually process the answers.
  12.  
  13. !set p=anstype/raw
  14. !readproc tabletheme
  15. $table_header
  16. !set caption=!record 1 of help/$p
  17.   <caption>$caption</caption>
  18.   !set header=!record 2 of help/$p
  19.   $table_tr<th>$(header[1])</th><th>$(header[2])</th></tr>
  20.   !set cnt_record=!recordcnt help/$p
  21.   !for u= 3 to $cnt_record
  22.     !set l_=!record $u of help/$p
  23.     $table_tr<td class="tt wims_code_words">
  24. !line 1 of $l_
  25.     </td><td>
  26. !line 2 of $l_
  27.    </td>
  28.   !next
  29. $table_end
  30.