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: 
Highlighted

any alternatives to BrightScript?

I am reading the Roku docs and it looks like all apps for the Roku Digital Video Player must be written in BrightScript, with its language constructs like "ON ERROR GOTO [line number]".

Before I proceed further, I wanted to double-check: is this an accurate understanding of the Roku development environment?
0 Kudos
3 Replies
KennyJ
Level 7

Re: any alternatives to BrightScript?

No. Brightscript is the scripting language for developing channels. There are no line numbers in Brightscript.

Brightscript appears to be similar to VBA and JavaScript.
0 Kudos

Re: any alternatives to BrightScript?

"KennyJ" wrote:
No. Brightscript is the scripting language for developing channels. There are no line numbers in Brightscript.

Brightscript appears to be similar to VBA and JavaScript.


From the Roku BrightScript 2.0 Reference Manual, page 23 (downloaded with the SDK yesterday):


GOTO label
Transfers program control to the specified line number. GOTO label results in an branch. A label is an identifier terminated with a colon, on a line by itself. Example:

mylabel: 
print “Anthony was here!â€
0 Kudos
bbefilms
Level 7

Re: any alternatives to BrightScript?

"josephgrossberg" wrote:
if a person wants to develop an app for the Roku DVP, BrightScript is the only language option available, correct?


Correct. I personally would have chosen JS (or preferably Java) over a form of VB script, but everyone to their own.
0 Kudos