Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-harness/blob/main/skills/omega-encoding/examples/pitfall_elif.om # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-harness / skills / omega-encoding / examples / pitfall_elif.om` 14 lines ยท 315 bytes Raw Blame History 1 note There is no elif. A line NAME VALUE assigns, so elif eq k 1 makes a local bool named elif 2 note and the next line runs for every k. pick 0 should be 10 and returns 20 (exit 20). 3 fn pick k ulong to ulong 4 r = ulong 0 5 if eq k 0 6 r = ulong 10 7 elif eq k 1 8 r = ulong 20 9 end 10 ret r 11 end 12 fn main to int 13 ret int pick 0 14 end