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/v-write.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 / v-write.om` 17 lines ยท 302 bytes Raw Blame History 1 note S4: write and read on unsized arrays inside the count: prints ABC and a newline (exit 0). 2 om2 3 fn g v view uchar * to void 4 w = write 1 v 0 len v 5 end 6 fn h e edit uchar * to void 7 for i ulong len e 8 put e i add uchar i 65 9 end 10 put e sub len e 1 10 11 g e 12 end 13 fn main to int 14 a = new uchar 4 0 15 h a 16 ret 0 17 end