Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v 1.2
The PK Girl
Give Me your Lunch Money 2010
Top Hat
the virtual human
Die Feuerfaust
Magnetic Moon
Jacaranda Jim
I Summon Thee!
Starship Quest
 
Latest Forum Posts
Is there a Player movement priority?
HAPPY BIRTHDAY ralphmerridew
Unlocking doors (illogical)
ParserComp 2021 announced, held this summer
POINTS
POINTS AWARDED
Synonyms for Locations with blanks (v5.0)
Verb-Noun Library released (two-word parser)
Getting audio and graphics to export in a blorb
Moving static object from hidden to inside an object?
 
Latest Reviews
Just a Fairy Tale
Skybreak v 1.2
Son of Camelot
Camelot 1.05
Alien Diver v13
Museum Heist
The Spectre of Castle Coris
Die Feuerfaust
Penrhyn - Burning Skies #GameJam420
Dreamspun #GameJam420

Make a donation

Cursor  Expression resolver is adding quotes incorrectly

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed High Sat 19th Dec 2015 2 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.34.1 Wed 23rd Dec 2015 5.0.35 Wed 23rd Dec 2015 Log In
 
saabieSat 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.
 
CampbellWed 23rd Dec 2015 14:01
Thanks, this should now be fixed.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster