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
Skybreak v. 1.4
The Sisters
Synonymizer
Notebook Demo
The Makeshift Magician
Escape to New York v1.1
Ectocomp 2009
Hold Breath
Okt. 31
 
Latest Forum Posts
Constellaris Court
Happy birthday reelyor
New Game Uploaded: THINGS THAT GO BUMP IN THE NIGHT
Dominion of Darkness - interactive story of the Dark Lord/Lady
Belated happy birthday saabie!
Object groups?
Happy birthday Denk & Andrew
InsideADRIFT Back Issues
Hi everyone
EctoComp 2025 RESULTS ARE UP!
 
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