Roku Community
Sign In
Help
Browse
Browse
Roku Player Support
Getting Started - Setup & How-to
Remotes & Accessories
Network - Wireless & Wired Connections
Roku Device Features, Settings & Updates
Playback Issues - Audio/Video & Power
Accounts, Billing, & Orders
Channel Issues & Questions
Roku Mobile App
Roku Legacy Products
Roku TV
Manufacturer Support & Warranty Resources
Discussions
Roku Audio
Discussions
Community
Community Discussions
Welcome to the Roku Community
Announcements
Developers
Roku Developer Program
Roku Direct Publisher
Roku TV Ready Certification Program
Independent Developer Kit
Roku Developer Program
Developers and content creators—a complete solution for growing an audience directly.
All community
This category
This board
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Roku Community
:
Developers
:
Roku Developer Program
:
CASE or SWITCH Statements In BrightScript?
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
brocker
Level 8
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
07-15-2011
09:20 AM
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
Reply
All Topics
Previous Topic
Next Topic
3 REPLIES
3
\
TheEndless
Level 10
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
07-15-2011
09:41 AM
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
Reply
brocker
Level 8
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
07-15-2011
10:32 AM
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
Reply
jbrave
Level 8
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
07-15-2011
07:52 PM
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
Reply
Trending Discussions
Roku Voice webinar replay now available
How to I add my Widevine DRM protection link to my direct publisher JSON feed?
Privacy Statement for Kid's Channel...we don't collect info
Labels
Android
1
Audio
1
Channel content question
1
Channel feature-functionality
2
iOS
1
Play on Roku
2