<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi Tim,<BR>
<BR>
Assuming that the subject has to enter his/her answer in an object called <FONT face="Courier New">TextDisplay1</FONT><FONT face="Geneva, Arial, Sans-serif"> and that the correct answers are defined as attribute with the name <FONT face="Courier New">"CorrectResponses"</FONT>, you could use the following inline script to set the accuracy property (to be inserted after <FONT face="Courier New">TextDisplay1):</FONT></FONT><BR>
<BR>
<FONT face="Courier New, Courier, Monospace">' get the correct answers attribute</FONT><BR>
<FONT face="Courier New, Courier, Monospace">Dim sCorrectResponses as String<BR>sCorrectResponses = c.GetAttrib("CorrectResponses")</FONT><BR>
<FONT face="Courier New, Courier, Monospace">' perform a case-insensitive search operation <BR>if Instr(sCorrectResponses, TextDisplay1.RESP, 1)=0 then<BR> TextDisplay1.ACC = 0<BR>else<BR> TextDisplay1.ACC = 1<BR>end if</FONT><BR>
<FONT face="Courier New, Courier, Monospace">' and also save the accuracy as attribute<BR>c.SetAttrib "TextDisplay1.ACC", TextDisplay1.ACC</FONT><BR><BR>Note that the Instr function will search for any character included in the "<FONT face="Courier New">CorrectResponses</FONT>" attribute, so don't include spaces unless a space is a correct response.<BR><BR>Best,<BR>
Paul Groot<BR>
<BR>
VU University Amsterdam<BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
From: tlorat@psychology.ou.edu<BR>Subject: Multiple possible correct answers<BR>To: eprime@mail.talkbank.org<BR>Date: Tue, 25 Sep 2007 16:22:33 -0500<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<DIV><FONT face=Arial color=#000000 size=2> Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>I am creating an experiment in which three Digits are presented (Digit1, Digit2, Digit3). The subject has to memorize and later report any one of those three. Is there a way to check for the correct response? If I enter [Digit1][Digit2][Digit3] in the "Correct:" space, it checks versus a concatenation of the three digits (e.g. 824 instead of 8 or 2 or 4).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your help,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Tim Lorat</FONT></DIV></BLOCKQUOTE><br /><hr />De nieuwste Windows Live Messenger is uit! <a href='http://get.live.com/messenger/overview' target='_new'>Download 'm hier</a></body>
</html>