Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Komag
Roku Guru

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 1
RokuKC
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