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
Museum Heist
Ectocomp 2009
Skybreak v. 1.4
Marika the Offering
The Fortress of Fear
The Cellar
Jacaranda Jim
Pete's Punkin Junkinator
Bug Hunt On Menelaus
Revenge of the Space Pirates
 
Latest Forum Posts
Many alternative descriptions per Location or Object
Combi-Lib - an improved standard library
Bug with keys
Happy birthday ralphmerridew
"Player" vs. [The Player Character]
Dominion of Darkness - interactive story of the Dark Lord/Lady
ADRIFT Runner on US keyboard
Re-close a door without the player doing it
It's been too long!
Conversations
 
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  Inconsistancies with space added to beginning of a number

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Open Low Thu 11th Feb 2016 4 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.34.1 Thu 11th Feb 2016 Log In
 
saabieThu 11th Feb 2016 02:56
If i print a %number% reference or a number variable then a space is NOT added to the number.
The Str( ) function does add a space to the beginning of a positive number.
If we compare text like "1234" to the contents of a number variable in a restriction then it fails because a space is added to the number before it is compared to the text.

It would be more consistant if ADRIFT never prepends a space to numbers.
It is a lot easier to add a space to a string than to try to remove the space from the Str() output without also removing the minus sign from a negative number.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster