PennController for IBEX › Forums › Support › conditional trials › Reply To: conditional trials
May 1, 2020 at 10:32 am
#5183
Keymaster
Hello,
You could do something like this:
Template( "myTable.csv" ,
row => newTrial( "experiment" ,
newController("DashedSentence", {s: row.Sentence}).print().log().wait()
.remove()
,
(row.Question?[
newText("Question", row.Question).print()
,
newKey("FJ")
.wait()
.log()
]:null)
,
[etc]
Jeremy