Multiple correct answers script

David McFarlane mcfarla9 at msu.edu
Thu Apr 17 19:22:16 UTC 2014


Ellie,

Oh, and if you do *not* get the error in the minimal example, but 
still get it in your original program, then my money says that the 
error occurs somewhere else than in the bit of code that you posted, 
and has something to do with the reasons in my first reply.

Regards,
-- David


At 4/17/2014 03:17 PM Thursday, David McFarlane wrote:
>Ellie,
>
>Hmm.  First, I do not see anything wrong with that code.  And to be 
>sure, I went ahead and directly copied your code into a little test 
>program, using EP2.0.8.90 (same version as you), and it both 
>compiled and ran without error.
>
>If you have not already, then you should make a minimal example that 
>shows this error.  Mine looks like this:
>
>SessionProc
>     List1
>         Proc1
>             TextDisplay1
>             InLine1
>
>List1 has an attribute named "CorrectResponses", and InLine1 has 
>your code, verbatim.  No need to even enter anything else for the 
>various objects, as this is already enough to check any syntax errors.
>
>If you still get the error in this minimal test, then something must 
>be peculiar on your system.  Try it out on another machine.
>
>Good luck,
>-- David McFarlane
>
>
>At 4/17/2014 01:11 PM Thursday, Ellie van Setten wrote:
>>Dear David,
>>
>>Thank you for your fast reply. The line the error was referring to was:
>>
>>if Instr(1, sCorrectResponses, TextDisplay1.RESP,1)=0 then
>>    TextDisplay1.ACC = 0
>>
>>It seems correct to me, but I keep getting the error.
>>
>>The version I use was 2.08.90 the 9 was a typo.
>>
>>Best,
>>
>>Ellie

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/535029ec.e272320a.6cfd.2135SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/d/optout.



More information about the Eprime mailing list