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
Ghost Town
The PK Girl
The Fortress of Fear
Top Hat
the virtual human
Jacaranda Jim
Can You Guess?
Give Me your Lunch Money 2010
The Lost Children
Latest Forum Posts
Grammar question
Location of an object
Getting Started Series: 1-2 minute videos on basic features
Can You Guess? - New Game!
Is this possible?
Making my collection available for everyone
Writing Prompt Time limit?
DazaKiwi Happy Birthday
Kindle & Amazon
Latest Reviews
The Adventures of Postman Matt (and his black and white cat)
Trick or Treat
The Last Expedition
The Tartarus Project
The Lost Children
The Fortress of Fear
The Warlord, The Princess & The Bulldog
Die Feuerfaust
The Spectre of Castle Coris

Make a donation

Get it from CNET!
Cursor  Expressions can't subtract a negative number

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Critical Thu 12th Dec 2013 2 votes Vote Up Vote Down
Found in version: Last Updated: Completed in version: Date Completed: Track Changes: Sat 22nd Feb 2014 5.0.32 Sat 22nd Feb 2014 Log In
saabieThu 12th Dec 2013 13:42
I was using the following function:
But if %number% is negative then it gives a "bad expression" ADRIFT error:

Putting brackets around %number%:
did not work either.
CampbellSat 22nd Feb 2014 17:18
Expressions themselves can handle this ok, the problem is with Item Functions. It was reading - as a continuation of the function name, and failing to parse. Fixed.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster