Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Run- if sequence

Hello!
I have run into a problem, i start my experiment with a form where the subjects have to choose between 10 binary choices. then depending on their choices hl3 to hl12 they have to do a different experiment sequence, my run if statement seems wrong. any help is much appreciated. I am super desperate.


Comments

  • Hi,

    If you want to define a variable in Python script, and then refer to it in OpenSesame script (like so: [hl3]), then (in Python) you have to assign it as a property of the var object:

    var.hl3 = 0
    

    Does that make sense? See also:

    And, for the future, if something doesn't work, make sure to post error messages and a detailed description of what doesn't work!

    Cheers,
    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

Sign In or Register to comment.