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/tools/exp445/arms/examples/count_above/program.omegese # 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 / tools / exp445 / arms / examples / count_above / program.omegese` 19 lines ยท 254 bytes Raw Blame History 1 fn above v view int 4 t int to uchar 2 k = uchar 0 3 for i uint 4 4 if gt get v i t 5 k = add k 1 6 end 7 end 8 ret k 9 end 10 fn count_above a int b int c int d int t int to uchar 11 v = new int 4 0 12 put v 0 a 13 put v 1 b 14 put v 2 c 15 put v 3 d 16 k = above view v t 17 free v 18 ret k 19 end