Create your own Interactive Fiction
The PK Girl
the virtual human
The Fortress of Fear
The Spectre of Castle Coris
Give Me your Lunch Money 2010
The Axe of Kolt
Latest Forum Posts
[Serious Bug Found] Events can be started by the stop task..
Cyberstorm: Fight For Freedom
The Superhero’s Sidekick
V.5 Tips & Tricks Proto type
Ideas/Requests for Video Tutorials?
Help! Cannot run Adrift properly [Solved]
Been getting weird dreams lately
Happy Birthday Lazzah
Blorbs for Space detective
The Adventures of Postman Matt (and his black and white cat)
Land of the Mountain King
Escape to New York v1.1
Trick or Treat
The Last Expedition
The Tartarus Project
Expression resolver is adding quotes incorrectly
Sat 19th Dec 2015
Found in version:
Completed in version:
Wed 23rd Dec 2015
Wed 23rd Dec 2015
Sat 19th Dec 2015 08:08
When resolving an expression containing references or item functions, quotes are being added (or not) at the wrong times.
<# IF(%object1%.Contents.Count < 2, "is", "are") #>
Count returns an integer, but the resolver puts quotes around it giving a bad expression error: "1" < 2
References and item functions that both return a key will work one way around but not the other:
<# %object2% = %object1%.Parent #> OK
<# %object1%.Parent = %object2% #> Bad expression Bag = ""Bag""
IF you add quotes around the reference then it works either way around:
<# "%object2%" = %object1%.Parent #> OK
<# %object1%.Parent = "%object2%" #> OK
While quoting the item function does not:
<# %object2% = "%object1%.Parent" #> Bad expression Bag = ""Bag""
<# "%object1%.Parent" = %object2% #> Bad expression Bag = ""Bag""
This occurs both for embedded expressions and in expression restrictions.
Wed 23rd Dec 2015 14:01
Thanks, this should now be fixed.
2013 Campbell Wild. All rights reserved.
Contact the Webmaster