Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brocker
Level 8

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
Level 10

Re: CASE or SWITCH Statements In BrightScript?

Big If...Else Smiley Sad
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
Level 8

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
Level 8

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