So Im trying to display text using a different column of data depending on the provided participant number.
Columns are set up as “Participant1” “Participant2” etc.
I’m just using a small tidbit of code in a text stimuli presentation (not the code builder)
$(“Participant” + $expInfo[‘participant’])
It is getting the participant number perfectly fine, and combining them correctly, but then it isn’t using them to access the excel file, it is just printing them as a string(as Participant1, Participant2 etc). It is almost like it is ignoring the “$” entirely.
I’m new to this, so I’m sure its something simple I am overlooking.