zy856n
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016
03:02 PM
Readability - multi line IF
Is it possible to have if statement separated by new line.
currently I am having compile time errors. Please shed light.
-- Regards
if x = "A" or
x = "B" or
x = "C" or
y = "A" and
...
currently I am having compile time errors. Please shed light.
-- Regards
3 REPLIES 3
squirreltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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.
.....
end if
Has to be on the same line.
Kinetics Screensavers
Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
zy856n
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2016
08:06 PM
Re: Readability - multi line IF
Thanks guys. Right, tab & wrap code.