Roku Community
Sign In
Help
Browse
Browse
Streaming Players
Roku setup
Features, settings & updates
Wi-Fi & connectivity
Channels & viewing
Solving playback issues
Remotes
Roku mobile app
Roku legacy products
Issue Tracking Board
Roku TV
Manufacturer support & warranty resources
Discussions
Roku Audio
Discussions
Roku Smart Home
Using your smart home devices
Cameras & doorbells
Lights & power
Smart home app
Roku Pay
Account, payments & subscriptions
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
Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
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
:
Re: Readability - multi line IF
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
zy856n
Visitor
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
09-13-2016
03:02 PM
Readability - multi line IF
Is it possible to have if statement separated by new line.
if x = "A" or
x = "B" or
x = "C" or
y = "A" and
...
currently I am having compile time errors. Please shed light.
-- Regards
0
Kudos
Reply
All Topics
Previous Topic
Next Topic
3 REPLIES
3
squirreltown
Roku Guru
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
09-13-2016
03:17 PM
Re: Readability - multi line IF
if x = "A" or
x = "B" or
x = "C"
.....
end if
Has to be on the same line.
Kinetics Screensavers
0
Kudos
Reply
Komag
Roku Guru
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
09-15-2016
06:09 PM
Re: Readability - multi line IF
Deft use of TAB can space out your code for better readability
0
Kudos
Reply
zy856n
Visitor
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
09-15-2016
08:06 PM
Re: Readability - multi line IF
Thanks guys. Right, tab & wrap code.
0
Kudos
Reply
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or
post your question
to get help.
Become a Roku Streaming Expert!
Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community.
Learn more.
Related Community Topics
Invalid public key:error:0909006C:PEM routines:get_name:no start line: iostream error
Multi TV's not miring the audio.
Split a string with 140K lines
How to Remove more than one Extra Space between the two lines?