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/cases/nom_layout_order.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 / cases / nom_layout_order.om` 28 lines ยท 515 bytes Raw Blame History 1 note Layout put: the index and value calls run in omc's order. The trace global records them in decimal 2 note digits (value 1, index 2). Exit is the trace. 3 om2 4 global tr ulong 1 5 layout lo 8 6 field a uchar 4 at 0 little 7 field w ushort at 4 big 8 field b byte at 6 little 9 end 10 fn vf to uchar 11 put tr 0 add mul get tr 0 10 1 12 ret 7 13 end 14 fn ix to ulong 15 put tr 0 add mul get tr 0 10 2 16 ret 3 17 end 18 fn setit c edit lo to void 19 put c a ix vf 20 end 21 fn main to int 22 c = new uchar 8 0 23 setit c 24 if ne get c 3 7 25 ret 1 26 end 27 ret int get tr 0 28 end