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
Pete's Punkin Junkinator
Museum Heist
All Through the Night
Finn's Big Adventure
Revenge of the Space Pirates
The Cellar
Jacaranda Jim
Three Monkeys One Cage
The Fortress of Fear
The Garden Party
 
Latest Forum Posts
Another Car problem
It's been too long!
5.0.36 out now
Keyfob problem
%CharacterName%
just starting
Dropping items in room that is also an object (e.g. car)
Another embarrassingly easy one
Adding carriage return
Installing 5.0, virus warning... it's fine, right?
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

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:
5.0.27.2 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
Fixed.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster