marko
New Member
Posts: 4
|
Post by marko on Jan 15, 2021 9:25:40 GMT
Dear all,
I'm new in PsyToolkit and have a basic question: Is it true that it is not possible to use arithmetic operators when setting variables? For example, this code is not possible:
options
set &x 3
set &y 4
task sometask set $z &x+&y
Is it somehow possible to bypass it?
Thank you very much,
Maliković Marko
|
|
marko
New Member
Posts: 4
|
Post by marko on Jan 15, 2021 10:08:45 GMT
OK, I found it:
set $z expression &x + &y
Quite unintuitive that there must be spaces between operators and variables in &x + &y. But okay ...
|
|