"joetesta" wrote:
https://developer.roku.com/docs/references/api-index/brightscript/interfaces/ifsgnodechildren.md#ins...
Following the doc here: "insertChild(index as Integer, child as roSGNode ) as Dynamic"
Produces a crash: Type Mismatch. (runtime error)
The order of the index and the child should be reversed in the docs, since it *doesn't* crash doing:
"insertChild(child as roSGNode, index as Integer) as Dynamic"
"speechles" wrote:
https://developer.roku.com/docs/developer-program/core-concepts/brightscript/program-statements.md
404
"RokuTomC" wrote:
BrightScript language reference material has been lumped with the BrightScript API references:
https://developer.roku.com/en-gb/docs/references/brightscript/language/statement-summary.md[/url:1r4...
https://developer.roku.com/en-gb/docs/references/brightscript/language/program-statements.md[/url:1r...
"speechles" wrote:"RokuTomC" wrote:
BrightScript language reference material has been lumped with the BrightScript API references:
https://developer.roku.com/en-gb/docs/references/brightscript/language/statement-summary.md[/url:1yr...
https://developer.roku.com/en-gb/docs/references/brightscript/language/program-statements.md[/url:1y...
Try telling that to your "search." Type in "Statement summary" and DOI
Results for statement summary
10 results
Statement summary
Developer Documentation - https://developer.roku.com/docs/referen ... summary.md
BrightScript supports the following familiar looking statement types: If / Then / Else If / Else / End If For / To / End For / Step / Exit For For Each / In / End For / Exit For While / End While / Exit While Function / End Function / As / Return Print Rem (or ') Goto Dim End Stop BrightScript is not case sensitive...
Program statements
Developer Documentation - https://developer.roku.com/docs/referen ... tements.md
DIM name (dim1, dim2, …, dimK) DIM (\"dimension\") is a statement that provides a short cut to creating roArray objects. It sets variable name to type \"roArray\", and creates Arrays of Arrays as needed for multi-dimensional arrays. The dimension passed to Dim is the index of the maximum entry to be allocated (the array initial size = dimension+1); the array will be resized larger automatically if needed...
"Komag" wrote:
Looks like "game" is back, right near the bottom, just above "Screensaver attributes"
I would like solid definitive correct sizes for things as well:
icon
540x405?
290x218?
336x210?
When I set mine to 290x218, it looks PIXEL PERFECT on my Roku 4 and on my 4k Roku TV where the UI is 1080p.
Maybe the 540x405 is for the larger channel picture that you see when surfing the channel store?
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
Thanks for your patience — we’re excited to share what’s next!