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.4
Skybreak v 1.2
The Fortress of Fear
Lost Coastlines
the virtual human
The Lost Labyrinth of Lazaitch
Starship Quest
The Dwarf of Direwood Forest
Jacaranda Jim
Classic Adventure
 
Latest Forum Posts
Preventing character property being executed?
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
Search Function Not Working In Windows 11
errors
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
 
Latest Reviews
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch

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