﻿<?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  » Batch Sequence-Infinite Loop</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 01:42:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Batch Sequence-Infinite Loop</title><link>https://forums.millisecond.com/Topic12170.aspx</link><description>Hello,&lt;div&gt;I am humbled by the simplicity of my question, but the reality is that I have no experience with writing any type of program script. Through the forum I have learned how to create a batch script for my experiment (see below), but the problem is that subject "4" (i.e., with a remainder of "0") is kept in an infinite loop (i.e., the program continues to run through both IAT tasks). As such, my question is: &lt;strong&gt;What syntax do I need to include to signal to the program that it should end after the two tasks for subject 4 (remainder 0)?&lt;/strong&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&amp;lt;batch GroupA&amp;gt;&lt;br/&gt;/subjects = (1 of 4)&lt;br/&gt;/groupassignment = subjectnumber&lt;br/&gt;/file = "SexualIAT-FemaleLeft.iqx"&lt;br/&gt;/file = "PleasantIAT-Maleleft.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch GroupB&amp;gt;&lt;br/&gt;/subjects = (2 of 4)&lt;br/&gt;/groupassignment = subjectnumber&lt;br/&gt;/file = "PleasantIAT-Maleleft.iqx"&lt;br/&gt;/file = "SexualIAT-FemaleLeft.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch GroupC&amp;gt;&lt;br/&gt;/subjects = (3 of 4)&lt;br/&gt;/groupassignment = subjectnumber&lt;br/&gt;/file =&amp;nbsp; "SexualIAT-MaleLeft.iqx"&lt;br/&gt;/file = "PleasantIAT-Femaleleft.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch GroupD&amp;gt;&lt;br/&gt;/subjects = (4 of 4)&lt;br/&gt;/groupassignment = subjectnumber&lt;br/&gt;/file = "PleasantIAT-Femaleleft.iqx"&lt;br/&gt;/file = "SexualIAT-MaleLeft.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Tue, 21 Jan 2014 10:23:26 GMT</pubDate><dc:creator>m_shilha</dc:creator></item><item><title>RE: Batch Sequence-Infinite Loop</title><link>https://forums.millisecond.com/Topic12171.aspx</link><description>Nothing in the code you posted should cause an infinite loop. Have you double-checked / ensured that your Inquisit installation is up to date?&lt;br/&gt;</description><pubDate>Tue, 21 Jan 2014 10:23:26 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>