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: 
brocker
Visitor

CASE or SWITCH Statements In BrightScript?

Hey Friends,

Is there any kind of notion of a CASE or SWITCH statement in BrightScript? If not, what do you do to handle a scenario where you might need that functionality? Big IF/ELSE statement?

Thanks!
Bud
0 Kudos
3 REPLIES 3
TheEndless
Channel Surfer

Re: CASE or SWITCH Statements In BrightScript?

Big If...Else 😞
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
brocker
Visitor

Re: CASE or SWITCH Statements In BrightScript?

Ok, thanks Endless. I couldn't find anything in the documentation, but was hoping there was a "trick".

A big ELSE/IF it is!

Thanks
Bud
0 Kudos
jbrave
Channel Surfer

Re: CASE or SWITCH Statements In BrightScript?

I wish...
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos