﻿<?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 5  » Question for SC-IAT Coding</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 12 Sep 2026 03:52:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Question for SC-IAT Coding</title><link>https://forums.millisecond.com/Topic19358.aspx</link><description>Hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I have been trying to get a Single Category - IAT code to work but I have been having problems with one of the errors in the script. I used the template provided by the Single Category Picture IAT in the library section on the website but the same error occurs when I try to run the script even when I have not made any adjustments (although running the test online works).&lt;br/&gt;&lt;br/&gt;Here's the part of the code that has the error:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ m1 = values.sum1 / values.n1&lt;br/&gt;/ m2 = values.sum2 / values.n2&lt;br/&gt;/ sd1 = sqrt((values.ss1 - (values.n1 * (expressions.m1 * expressions.m1))) / (values.n1 - 1))&lt;br/&gt;/ sd2 = sqrt((values.ss2 - (values.n2 * (expressions.m2 * expressions.m2))) / (values.n2 - 1))&lt;br/&gt;/ sd = sqrt((((values.n1 - 1) * (expressions.sd1 * expressions.sd1) + (values.n2 - 1) * (expressions.sd2 * expressions.sd2)) + ((values.n1 + values.n2) * ((expressions.m1 - expressions.m2) * (expressions.m1 - expressions.m2)) / 4) ) / (values.n1 + values.n2 - 1) )&lt;br/&gt;/ d = (m2 - m1) / expressions.sd&lt;br/&gt;/ latdiff = m2 - m1&lt;br/&gt;/ attitude = "unknown"&lt;br/&gt;/ percentcorrect = (values.n_correct/ (block.compatibletest.trialcount + block.incompatibletest.trialcount)) * 100&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;And the error is: &lt;span style="font-style: italic;"&gt;Expressions 'computer.touch' is invalid. Expression contains an unknown element or property name.&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Thank you for your help in advance!&lt;br/&gt;</description><pubDate>Sun, 03 Jul 2016 11:22:41 GMT</pubDate><dc:creator>DummyCoder</dc:creator></item><item><title>RE: Question for SC-IAT Coding</title><link>https://forums.millisecond.com/Topic19363.aspx</link><description>Thank you! I love you Dave</description><pubDate>Sun, 03 Jul 2016 11:22:41 GMT</pubDate><dc:creator>DummyCoder</dc:creator></item><item><title>RE: Question for SC-IAT Coding</title><link>https://forums.millisecond.com/Topic19361.aspx</link><description>The &amp;lt;expressions&amp;gt; you pasted do not contain the computer.touch property referenced in the error, i.e., that &amp;lt;expressions&amp;gt; element is not where the error originates.&lt;br/&gt;&lt;br/&gt;The computer.touch property is new to Inquisit 5 syntax. If you were to run the script in either a lower version (Inquisit 4.0.x.x) or an outdated Inquisit 5 version, you would get that error. Given that you are able to run the script online, I suspect the latter is the case. Make sure you download and install the latest Inquisit 5 Lab version available via &lt;a href="https://www.millisecond.com/download/"&gt;https://www.millisecond.com/download/&lt;/a&gt; and the script should work.&lt;br/&gt;</description><pubDate>Sun, 03 Jul 2016 09:06:15 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>