Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Komag
Level 9

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).
0 Kudos
1 Reply
Roku Employee
Roku Employee

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.
0 Kudos