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/ng/front/runs/data-view.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 / ng / front / runs / data-view.om` 26 lines ยท 403 bytes Raw Blame History 1 om2 2 text msg "data\n" 3 global data uint 2 4 const SIZE ulong 2 5 fn readone a view uchar 5 to long 6 ret write 1 a 0 len a 7 end 8 fn copy a view uint 2 b edit uint 2 fresh to void 9 put b 0 get a 0 10 put b 1 get a 1 11 end 12 fn main to int 13 a = new uint SIZE 7 14 b = new uint SIZE 0 15 copy a b 16 put data 0 get b 0 17 put data 1 get b 1 18 k = readone msg 19 if ne get data 0 get data 1 20 ret 1 21 end 22 if ne k long len msg 23 ret 2 24 end 25 ret 0 26 end