URL of experiment:
Description of the problem:
Hello all. I’m now about to finish building my first experiment using Pavlovia, and I have a problem that I am not sure how to debug since it’s online.
I am trying to set one of my loops to start in a different row in any iterations. The loop stops after K repetitions, when K is the number of loops until the subject response. (it sounds stimulus 0, stimulus 1, stimulus 2, 3 until response) so I don’t know exactly when will the next loop will start. I want to make it start in stimulus K, so if the subject heard stimuli 0-4 he will now hear stimulus 5.
I’ve set a counter called “bad_count” and the syntax there seems to be OK so it increases in 1 each time the routines in the loop end (I’ve saved it in the log to make sure it happens). However, when I write in the selected rows “(USD sign)bad_count:55” I get a syntax error (“Initializing the experiment…”). I tried to remove the $ sign and the experiment runs but always starts the loop from row 0.
how do I get it to address a different starting point for the selected rows each time I loop?
EDIT: for some reason I can’t show the USD sign used to mark code. Now it appears…
Thanks a lot