Marcelo Lv Cabral

Results 65 issues of Marcelo Lv Cabral

Try the code below: ``` Sub Main() x = 96 y = 56 w = 1088 h = 608 Offset(-x + 96, -y + 56, -w + 1088, -h +...

Even if both numbers are float or double the result is an integer in Roku.

In the line below, the method `TotalSeconds` is called 4 times (to check add a `console.log` in the implementations): `? CreateObject("roTimeSpan").TotalSeconds().ToStr().Trim()`

As Roku has a unique and limited localization support, brs needs to emulate it somehow. For instance, in roDateTime, the only supported formats for short date are: - Canada: YYYY/MM/DD...

https://developer.roku.com/docs/developer-program/getting-started/architecture/dev-environment.md

The following code generates an error in `brs` and in Roku works ok. ``` a% = 126.9 print a% ``` In Roku it prints 126

https://developer.roku.com/docs/references/brightscript/interfaces/ifenum.md

https://developer.roku.com/docs/references/brightscript/components/ropath.md

This code: ``` color = &HC0C0C0FF print color ``` Shows in Roku console as: -1061109505 Shows in brs console as: 3233857791

bug
lexer
stdlib