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/omega_ref/fixtures/environment.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 / tools / omega_ref / fixtures / environment.om` 25 lines ยท 356 bytes Raw Blame History 1 note Execute under env -i TOKEN=value: exact environment bytes and short destination. 2 global data uchar 64 3 fn main to int 4 if ne envcnt long 1 5 ret 1 6 end 7 n = envread 0 data 3 61 8 if ne n long 11 9 ret 2 10 end 11 if ne get data 3 84 12 ret 3 13 end 14 if ne get data 13 101 15 ret 4 16 end 17 n = envread 0 data 0 10 18 if ne n long -105 19 ret 5 20 end 21 if ne get data 3 84 22 ret 6 23 end 24 ret 0 25 end