Roku Developer Program

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

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
3 Replies
Level 9

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

Re: Readability - multi line IF

Deft use of TAB can space out your code for better readability
0 Kudos
Level 7

Re: Readability - multi line IF

Thanks guys. Right, tab & wrap code.
0 Kudos