Howdy, Stranger!

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

Supported by

My keyboard to chr command


In my experiment, the subject needs to type a sequence of letters so I've inserted a dialog box according to the guidance in another post (text input functions:

Now I'm trying to create a loop if the sequence that was typed is wrong. If so, the sequence that was last seen will show again and afterward typing dialog box. Only if the sequence typed correctly the next sequence will be presented. I did it according to this post:

While the sequence typed correctly it's running, but if there were a mistake it's crashing. How can I fix it?

What does the "" command do?

I don't need the "SWITCH" command but I don't succeed to delete it correctly.

Thank you!


  • Another printScreen of my experiment when it's crashing

    1.png 340.7K
  • Hi,

    Can you also post the error message? And maybe even upload the experiment? Like that it is hard to tell what is going on.

    Btw. you can try to see what this command does if you try it in the debug window after the experiment crashed.

  • Thank you got your help. I've attached the error message and also the experiment itself.

    What should I do?

  • Ok, that is an indentation error. If you remove the tabs on line 22 and replace them with 8 whitespaces, the error should disappear. Can you try that?


Sign In or Register to comment.