assign result to an expression


Author
Message
beccca
beccca
Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)Distinguished Member (3.1K reputation)
Group: Forum Members
Posts: 13, Visits: 11

Dear all


 


It's me again ;). I have another question:


 


Inquisit shows me
either picture 1 or picture 2 randomly:


 


<trial showPic>


/ stimulusframes =
[1=noreplace(pic)]


/ validresponse =
(anyresponse)


/ inputdevice =
keyboard


</trial>


 


 


pic contains:


 


<item pic>


/1 = “pic1.jpg”


/2 = “pic2.jpg”


</item>


 


<picture pic>


/items = pic


</picture>


 


I would like to save
the result (meaning what picture has been shown) to a variable.


 


I have created an
expression


<expressions>


/picResult = 0


<expressions>


 



But how can I assign
the result to the generated expression (picResult)?


 


Thanks a lot


 


Becca.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K

If you want a *variable*, you should not use <expressions> but <values>. You set that value to whatever you wish via conditional logic in event attributes (/ontrialbegin, /ontrialend, etc.).


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search