interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / 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