interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / omega-reference / vendor / examples / mistake_else_if.om

10 lines · 164 bytes Raw Blame History
1note mistake_else_if: there is no else if on one line; nest an if inside the else block
2fn main to int
3x = int 1
4if eq x 0
5ret 1
6else if eq x 1
7ret 2
8end
9ret 0
10end