﻿<?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 6  » Issues &amp; Bugs Changing from Inquisit 5 to 6 - 'display.canvasheight' and 'display.canvaswidth' have changed their type</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 08 Apr 2026 00:16:35 GMT</lastBuildDate><ttl>20</ttl><item><title>Issues &amp; Bugs Changing from Inquisit 5 to 6 - 'display.canvasheight' and 'display.canvaswidth' have changed their type</title><link>https://forums.millisecond.com/Topic28826.aspx</link><description>I've been updating from Version 5 to Version 6 and noticed a weird bug where some of my stimuli would no longer render in the location I had specified. Through some sleuthing I finally worked out it was because the values returned by 'display.canvasheight' and 'display.canvaswidth' have changed from version 5 to version 6. Version 5 would return an integer value, such as '2160'. Version 6 returns a string, such as '2160px', with the 'px' added to the end. My code was trying to multiply an integer by a string and failed as a result.&lt;br/&gt;&lt;br/&gt;Would be good in the future if a list of these changes could be made available in the language reference when versions get updated. Also, I feel like it would be more useful if the properties were returned as integers, not strings.&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Ariel</description><pubDate>Wed, 22 Apr 2020 08:49:48 GMT</pubDate><dc:creator>Ariel Zeleznikow-Johnston</dc:creator></item></channel></rss>