Dynamic numbers of trials / Conditional trialnumber


Author
Message
Jeff
Jeff
Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)Guru (9.2K reputation)
Group: Forum Members
Posts: 49, Visits: 123

Hi all.  Is it possible to conditionally specify the number of trials in a block element?  I've tried a couple of different approaches (below), but I keep getting an 'invalid syntax' error.  More details attached.




<block K_Prac_block>



/ trials = [1 - values.LETTER_item_num = noreplace(LETTER_Prac_trials)]


   </block>



I've also tried this (both with and without quotes):



<block K_Prac_block>


/ trials = [1 - "<%values.LETTER_item_num%>" = noreplace(LETTER_Prac_trials)]


</block>




Thanks,


Jeff


Attachments
Conditional_trialnumber.exp (776 views, 988 bytes)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search