There is also another way, but it might be a bit scary for you, but it's not as difficult as you may think and that's the best way to learn.
You could use a database which simply has datafields for tense and past tense or any combination. You also have an index field and simply loop through the database using a loop counter.
the table would be something like this
INDEX....WORD.....PAST_TENSE
..1............go...........went
..2............write........wrote
..3............have........had
..4............cut...........cut
..5............drink........drank etc
You need to create a DSN (Data Source Name) to create a link to the table in the database....see help files
On each loop, use a SQL query to retrieve the WORD and PAST_TENSE. the query would be something like this (SELECT'WORD''PAST_TENSE'FROM'mytensetable' WHERE 'INDEX'='<LoopCount>')
what it does is.... use the DSN to tell it where to find the database table (mytensetable) then it selects the WORD and PAST_TENSE form the row where the INDEX number equals the loop count...so if the loop count was 3, it would retrieve 'have' and 'had' In the SQL query, you also specify the publicaqtion variables where these two words will be saved. They could be called WORD and PAST_TENSE
The SQL query would retrieve WORD and PAST_TENSE.
Having retrieved 'WORD' ....this could be used in a publication variable which becomes the question so....for publication variable 'question'.....question=("what is the past tense of "+WORD+"?")
this variable could be inserted into a text object, so for the above example the text box would show "what is the past tense of have?"
On the next loop (4), it would show "what is the past tense of cut?" etc
PAST_TENSE....this could be used to compare the users answer to the correct answer.
sorry it's brief outline, but it's not as difficult as it first seems.
_________________ Whoever designed this, never actually used it!
For this message sandyn has been thanked by : mackavi
|