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/coder/observed/elif_is_assignment.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 / coder / observed / elif_is_assignment.om` 14 lines ยท 321 bytes Raw Blame History 1 note probe: `elif COND` is not a keyword. It compiles as an assignment to a new local named elif, and the 2 note line after it runs whenever the if arm runs. With x = 1 an elif chain would return 1; this returns 2. 3 fn main to int 4 x = ulong 1 5 r = int 0 6 if lt x 2 7 r = int 1 8 elif lt x 5 9 r = int 2 10 else 11 r = int 3 12 end 13 ret r 14 end