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/si/harness/skills/omega-encoding/examples/pitfall_shared_name.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 / si / harness / skills / omega-encoding / examples / pitfall_shared_name.om` 14 lines ยท 341 bytes Raw Blame History 1 note Units concatenated into one input share one namespace: the local sh below names the 2 note global array sh of the unit above it, so the assignment is a type error (error 7). 3 global sh uchar 4 4 fn seta to void 5 put sh 0 uchar 5 6 end 7 fn helpb x ulong to ulong 8 sh = add x 1 9 ret sh 10 end 11 fn main to int 12 seta 13 ret int add ulong get sh 0 helpb 1 14 end