﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Noreplace across two picture types</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 14 Sep 2026 03:59:59 GMT</lastBuildDate><ttl>20</ttl><item><title>Noreplace across two picture types</title><link>https://forums.millisecond.com/Topic16213.aspx</link><description>Hi all,&lt;br/&gt;I'm trying to code a task where two stimuli appear on the screen at the same time, one on the left and one on the right. Because a picture can appear on the left or the right, I have defined two types of &amp;lt;picture&amp;gt;'s to determine position on the screen and these draw from the same pool of items.&amp;nbsp;&lt;br/&gt;In my trials, though, some pictures are appearing more than once, even though I have used the noreplace function - I think because two types of pictures are each separately not replacing from the pool of items rather than the pool of items not replacing across both locations.&amp;nbsp;Is there any way to fix this?&lt;br/&gt;I'm new to Inquisit and so have used a pretty basic (probably not the best) way of coding - I haven't used list elements, just defined my pictures and then used trials with /stimulustimes to determine what appears when.&lt;br/&gt;&lt;br/&gt;Any help would be much appreciated! Thanks very much.&lt;br/&gt;&lt;br/&gt;Jodie</description><pubDate>Wed, 06 May 2015 03:00:17 GMT</pubDate><dc:creator>JodieK</dc:creator></item><item><title>RE: Noreplace across two picture types</title><link>https://forums.millisecond.com/Topic16225.aspx</link><description>list.mylist.nextindex simply samples a new index value from the respective list element. currentindex merely returns the current index *without* forcing the selection of a new value (i.e., it reads out the index value passively). You'll find both properties covered in the language reference for the &amp;lt;list&amp;gt; element.&lt;br/&gt;</description><pubDate>Wed, 06 May 2015 03:00:17 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Noreplace across two picture types</title><link>https://forums.millisecond.com/Topic16222.aspx</link><description>Thanks Dave! So helpful and a quick response. I have created the lists. Just wondering what the &amp;nbsp; / select = list.mylist.nextindex &amp;nbsp; tells the program to do - I can't find the 'list.mylist.nextindex' it in the manual and just wanted to try and understand how it works. I found 'currentindex' but didn't really understand what they meant either.&lt;br/&gt;&lt;br/&gt;Sorry for the naive questions.</description><pubDate>Tue, 05 May 2015 18:12:49 GMT</pubDate><dc:creator>JodieK</dc:creator></item><item><title>RE: Noreplace across two picture types</title><link>https://forums.millisecond.com/Topic16214.aspx</link><description>The two &amp;lt;picture&amp;gt; elements need to have a single, shared selection pool. That's established via a &amp;lt;list&amp;gt;. Having them reference the same &amp;lt;item&amp;gt; element does *not* establish a common selection pool. Example (using &amp;lt;text&amp;gt; elements; works the same for &amp;lt;picture&amp;gt;s):&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-2=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=left, right]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text left&amp;gt;&lt;br/&gt;/ items = myitems&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;/ select = list.mylist.nextindex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text right&amp;gt;&lt;br/&gt;/ items = myitems&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;/ select = list.mylist.nextindex&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list mylist&amp;gt;&lt;br/&gt;/ poolsize = 4&lt;br/&gt;/ selectionrate = always&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item myitems&amp;gt;&lt;br/&gt;/ 1 = "A"&lt;br/&gt;/ 2 = "B"&lt;br/&gt;/ 3 = "C"&lt;br/&gt;/ 4 = "D"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 04 May 2015 02:48:18 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>