Forum Discussion

zy856n's avatar
zy856n
Visitor
9 years ago

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

3 Replies

  • if x = "A" or x = "B" or  x = "C"
    .....
    end if
    Has to be on the same line.
  • Deft use of TAB can space out your code for better readability