Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Authorware
MacroMedia AuthorWare
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Authorware :
product's home
product's list home
 
  Archived TallyList / Authorware: 
Subject: Re: AW5: User clicks Previous button before Correct
Charles Rholl (103p/+0r)     Posted: Tuesday 24 Apr 2001
This post: 44 views, +0 rating

Nikki Anderson wrote:

> > Any suggestions? > > Nikki

I suppose the variables are being reset each time a page is entered. You need to keep track of whether the question was answered right or wrong in a variable that does not get reset each time a quiz page is entered. I would use a List based on the questions number(s), set the corresponding element to 1 when the question was answered correctly the first time and set it to -1 perhaps when the question was answered incorectly. That way, zero will indicate the question has not been answered yet.

qAnsList := Array(0, numQuestions)

if FirstTryCorrect then qAnsList[qNumber] := 1 else qAnsList[qNumber] := -1 end if

There are of course numerous variations on this theme and you'll have to adopt it for your specific needs. You'll need to initialize the list each time a new quiz is taken or else use a different list for each quiz. You could use a list of lists (2 dimensional list).

HTH

Charles Rholl TOTO Multimedia

-- The AWARE List http://www.e-media.nl/aware/index.html

Search the Archives http://www.e-media.nl/aware/search.html

Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)


Similar Subject Line Posts (+/- two weeks of this post)
Re: AW5: User clicks Previous button before Correct  25 Apr 2001   (34 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  25 Apr 2001   (27 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (48 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (34 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (34 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (33 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (35 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (31 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (27 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (30 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (40 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (30 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (27 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001 (this post)   (44 v/ +0 r)
Re: AW5: User clicks Previous button before Correct  24 Apr 2001   (35 v/ +0 r)
AW5: User clicks Previous button before Correct  24 Apr 2001   (38 v/ +0 r)
 

Send a reply to the Authorware list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000