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
Top Hat
Skybreak! v. 1.1
The Lost Children
the virtual human
The Axe of Kolt
Give Me your Lunch Money 2010
The PK Girl
Magnetic Moon
Latest Forum Posts
Variable .. What happened?
Forum showing code.
Location / no location
5.0.36 out now
Saving the Adrift GUI layout.
Voting Round 2 of Xyzzy Awards is now open
How do you write to an array with a text variable 2 another?
Latest Reviews
Son of Camelot
Camelot 1.05
Alien Diver v13
Museum Heist
The Spectre of Castle Coris
The Axe of Kolt
Die Feuerfaust
Penrhyn - Burning Skies #GameJam420
Dreamspun #GameJam420

Make a donation

Cursor  String expressions containing variables dont work

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed High Mon 7th Jan 2013 2 votes Vote Up Vote Down
Found in version: Last Updated: Completed in version: Date Completed: Track Changes: Wed 20th Mar 2013 5.0.30 Wed 20th Mar 2013 Log In
saabieMon 7th Jan 2013 06:52
If i write an expression containing a text variable like:
'Who said ' & %TextVar%
Either in an action or an inline expression:
<# 'Who said ' & %TextVar% #>
Then ADRIFT seems to get the contents of the text variable and insert it directly into the expression giving:
'Who said ' & now is the winter of my discontent
But this causes a "Bad expression error" because there are no quotes around the string.
What it should do is insert the contents of the text variable as a quoted string:
'Who said ' & 'now is the winter of my discontent'
(When inserting into an expression, not when %TextVar% is in text outside of the <# #> symbols)
CampbellWed 20th Mar 2013 21:31
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster