Howdy, Stranger!

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

Supported by

How to use input on log.write_vars()

Hello there everyone,

it's my first time using OpenSesame and so far I was able to figure everything out using a lot of googeling, the manual and some brain power.

There is this one thing I can't figure out though:

How to use input on the log.write_vars() function. It seems like no matter what syntax I try, it won't work.

For example, if I try log.write_vars(acc) (since I only want to track accuracy in this example), it throws me the following error: NameError: name 'acc' is not defined.

I tried everything I could think of, like using lists as inputs, trying different variables, etc.

I hope my problem has become clear and that someone can help me.

Thanks a lot in advance!


Sign In or Register to comment.