STR$ generates an additional space at the beginning.
Maybe this is reserved for a negative number, but it does not make sense.
In addition, according to the manual, no blanks are generated at the beginning.
(if you see the example with the PI on page 200)
Bug Report - STR$ generates an additional space
-
- Bug!
- Wirsing
- Thread is Unresolved
-
-
This is expected and documented behaviour, please check against earlier CBM BASIC versions.
Changing this would break existing code that takes STR$() output and applies own formatting.
-
Ich kenne STR$ immer mit führendem Space (bei positiven Zahlen).
-
Ok, then there is a bug in the manual.
Is the mega65 basic the same as the cbm Basic?
-
-
Every number got a SPACE for positive values in front, even if NOT created with STR$
-
In der Tat:)
äh..yes. so it is