I have 18 blocks of trials. Each block goes for an ever shorter duration. I am trying to provide feedback on which trials were identified with an accuracy of 80% or more. I have tried a variety of different codes with no success. The last one uses the list function:
<page end>
^^^ Thank you for participating in this study
^^^ You were able to achive 80% for the following durations
<% list.mylist.items%>
^^^ You might like to record this information for future reference
^ If you have not already completed the Variable stimuli study, please do it now.
<list mylist>
</list>
I used the following instruction to add items to mylist (the second is set (300block) is w:
<block 300block>
/onblockbegin = [values.reach=300]
/skip = [values.skipp==1]
/trials = [1-5 = noreplace(300up, 300down)]
/onblockend = [if(block.600block.percentcorrect<70) list.mylist.insertitem("300 ms", list.mylist.itemcount + 1);]
</block>
Nothing seems to generate a response in the 'page End' text.