break between each experience
in OpenSesame
i want to propose a break between each experience, i have 5. and if they ready to restart they press any key of the keyboard but when i write
[count_trial_sequence] > 1 and [practice] = yes
they write an error page
thanks for your response
Comments
Hi @saosa ,
Without seeing the experimental file I can't give you a detailed response, but in any case I believe you should put quotation marks around the value "yes", like so:
Does that help?
Cheers,
Lotje
Did you like my answer? Feel free to

i had this error message :
exception type: SyntaxError
exception message: Failed to compile inline script
its a family non family word exprience, i have 5 liste and 15 blocks of differents words anad it's very heavy for the participant, so between each bocl i want to propose them a break, and i want to made a inline script text.canvas and a response key with space or enter. but i can't do that. i try in my sequence block and a inline script between two sequences and i receive error message, its a syntaxe problème or a variable problème . and i try this and its doesnt work
exp.set('count_trial_sequence', 0)
[count_trial_sequence] = 4
# Re-execute the whole block_loop item
items.execute(u'block1')
and also this :
prepare:
detente =canvas ()
detente.text('if you are ready to restart click on space or enter')
run :
detente.show
clock.sleep((if key.response == 'space':
breaking(u'block0')
else: execute(u'block1')))
Hi,
from the snippet you posted, I can only see this error:
detente.showshould bedetente.show()However, it is still quite confusing to me what you are trying to do. Maybe it would help to also share your experiment.
Oh, and if your question has already been answered in another thread, please let us know.
Eduard