setting experiment variables
I'm running into a very basic problem. I'm sure I've done this successfully in the past but I just can't figure it out this time. Getting older? I dunno
What I want to do is set the duration of a sketchpad in an inline script. So, I added an inline script on a sequence and includes the following code in the Run tab:
fix_durations = range(400,1700,100)
fix1duration = random.choice(fix_durations)
Then on a sketchpad that comes right after I use [fix1dur] in the duration field.
When I run the experiment, I get an error that the fix1dur variable does not exist. What am I doing wrong here??