
Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2015
03:55 AM
BrightScript Reference minor error - no trailing space after
In the BrightScript Language Reference 5.13 "PRINT item list" it says "Positive numbers are printed with a leading blank (instead of a plus sign); all numbers are printed with a trailing blank; and no blanks are inserted before or after strings."
But I've noticed that Integers and roIntegers don't print a trailing blank (but Floats and roFloats do, didn't test Doubles).
But I've noticed that Integers and roIntegers don't print a trailing blank (but Floats and roFloats do, didn't test Doubles).
1 REPLY 1


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2015
10:44 AM
Re: BrightScript Reference minor error - no trailing space a
Thanks for the report.
The documentation has been modified to state that (just) floating point numbers are printed with a trailing blank.
It is likely a bug from long ago that integers aren't printed with a trailing blank, but probably not something that should be changed at this point.
The documentation has been modified to state that (just) floating point numbers are printed with a trailing blank.
It is likely a bug from long ago that integers aren't printed with a trailing blank, but probably not something that should be changed at this point.