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-mv/blob/main/seed/omc/om2/s4/o-run.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / omc / om2 / s4 / o-run.om` 19 lines ยท 344 bytes Raw Blame History 1 note S4 out: inside the unit an out is a sized edit; an internal function fills a local through it 2 note and reads it back. Exit 0 when the values hold. 3 om2 4 fn fill r out ulong 3 v ulong to ulong 5 for i ulong 3 6 put r i add v i 7 end 8 ret get r 2 9 end 10 fn main to int 11 a = new ulong 3 0 12 if ne fill a 10 12 13 ret 1 14 end 15 if ne get a 0 10 16 ret 2 17 end 18 ret 0 19 end