Problem using list items for locations


Author
Message
Kolfers
Kolfers
Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)
Group: Forum Members
Posts: 24, Visits: 137
Hi all, 
I'm currently using the Inquisit trial version to see if it will work for our needs, and I'm running into a little problem. 

When trying to use a list to define the position of a text, I get very unpredictable behavior, that is

This will work perfectly:
<text stim_square>
/ items = letters
/ select = sequence
/ position = (list.xpositions.item(1), 50)
...
</text>

However, this won't work:

<text stim_square>
/ items = letters
/ select = sequence
/ position = (50,list.xpositions.item(1))
...
</text>

Throwing the following errors:
text.stim_square        position        Setting has invalid text ')    '.
text.stim_square                           Expression 'list.xpositions.item(1' is invalid. Unmatched parenthesis.

I'd think the two are perfectly equivalent, is this a parsing bug?

Thanks, 

Kerwin

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search