<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:14.0pt'>I’m running toolkits and have a final quiz (quiz.rlm) with scorm tracking turned on. Everything works fine. I wanted to add another page which displays the score (again) then makes a decision about printing a certificate.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'>I’ve created a model in desktop xerte which is basically a text page and a script icon which writes to this text page, then imported the model as the next icon after the quiz.  I’m trying to grab the value of ‘quizScoreTracking.sum’ and ‘quizScoreTracking.length’ and display it on the ‘welcometext’ page like this:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;mso-fareast-language:EN-CA'>welcometext.setText('You got ' + <span style='background:yellow;mso-highlight:yellow'>quizScoretracking.sum()</span> + ' correct out of a total of ' + <span style='background:yellow;mso-highlight:yellow'>quizScoreTracking.length</span> + ' questions. Your score is: ' + score + '%');<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;mso-fareast-language:EN-CA'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;mso-fareast-language:EN-CA'>When I run it however I get:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'>“You got undefined correct out of a total of undefined questions. Your score is: NaN%”<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'>Am I doing something wrong…or do these variables get purged when the quiz icon is passed?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'>TIA<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt'>RonM2<o:p></o:p></span></p></div></body></html>