mark_word | R Documentation |
After a word has been quizzed, the wordlist must be changed.
mark_word(question, quiz, wl, success)
question |
the |
quiz |
the |
wl |
the |
success |
logical indicating whether the question was answered correctly or not. |
After a word has been quizzed, its entry in the wordlist
must be modified. The modifications affect the columns
box
, count
, and date
that belong to
the direction that was quizzed.
In case of a correct answer, count
is increased by one.
If the limit of counts is reached, the word is moved to the
next box by increasing box
by one. count
is
reset to zero. date
, which indicates the date of the
last correct answer, is set to the current date.
In case of a wrong answer, count
is set to zero and
the word is moved on box back by decreasing box
by one. date
is left unchanged.
a wordlist
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.