Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Case Statement

$
0
0
I am new to LN coding but am a seasoned programmer is other languages. I am familiar with using case but I can only find ON CASE syntax. In the other languages they use a case statement very similar syntax SQL case statements. Is this type of Case available in LN in program scripts?

Example:
Code:


CASE
  WHEN x = 1 and y = 1
      do something
      break
  WHEN y = 1
      do something
      break
  OTHERWISE
      do something
      break
END CASE

Thank you in advance.

Paul

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>