﻿<?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 3  » 'Expressions' Error Message only in Inquisit 3</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 24 Nov 2026 19:24:01 GMT</lastBuildDate><ttl>20</ttl><item><title>'Expressions' Error Message only in Inquisit 3</title><link>https://forums.millisecond.com/Topic15587.aspx</link><description>I get this error message every time I try to run this script in inquisit 3 but not in inquisit 4... Is there something I can do to tweak the script to get it to run? I need a separate 'expressions' definition for my three conditions, but it says that it is defined more than once as an error.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Parsing elements...&lt;br/&gt;&amp;nbsp;&amp;lt;expressions pastpresent&amp;gt; is defined more than once.&amp;nbsp;&lt;br/&gt;&amp;lt;expressions pastpresentplus&amp;gt; is defined more than once.&lt;br/&gt;&lt;br/&gt;Here is an example of my 'expressions' script.&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions pastpresent &amp;gt;&lt;br/&gt;/ correctionvalue  = (display.width - picture.pastpresent.width) / 2&lt;br/&gt;/ correctedscore  = (trial.pastpresent.responsex - expressions.correctionvalue) / picture.pastpresent.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;The only thing that changes between conditions is the name.&lt;br/&gt;&lt;br/&gt;Thank you in advance!</description><pubDate>Mon, 23 Feb 2015 10:58:48 GMT</pubDate><dc:creator>cmg3gf</dc:creator></item><item><title>RE: 'Expressions' Error Message only in Inquisit 3</title><link>https://forums.millisecond.com/Topic15589.aspx</link><description>That worked! Thank you so much, I appreciate it!</description><pubDate>Mon, 23 Feb 2015 10:58:48 GMT</pubDate><dc:creator>cmg3gf</dc:creator></item><item><title>RE: 'Expressions' Error Message only in Inquisit 3</title><link>https://forums.millisecond.com/Topic15588.aspx</link><description>Inquisit 4 allows you to have multiple &amp;lt;expressions&amp;gt; elements in a given script, Inquisit 3 does not. You need to consolidate your &amp;lt;expressions&amp;gt; elements into a single one if you want to run the script under Inquisit 3. I.e., if you have&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions a&amp;gt;&lt;br/&gt;/ someexpression = ...&lt;br/&gt;/ someotherexpression = &lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions b&amp;gt;&lt;br/&gt;/ anotherexpression = ...&lt;br/&gt;/ yetanotherexpression = ...&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;you need to merge them for Inquisit 3 compatibility:&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ someexpression = ...&lt;br/&gt;/ someotherexpression = &lt;br/&gt;/ anotherexpression = ...&lt;br/&gt;/ yetanotherexpression = ...&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;The same is true for &amp;lt;values&amp;gt; elements.&lt;br/&gt;</description><pubDate>Mon, 23 Feb 2015 09:37:06 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>