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-packages/blob/main/examples/hello.om # omega-packages aien-dev/omega-packages Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-packages / examples / hello.om` 19 lines ยท 324 bytes Raw Blame History 1 note hello: sum 1..10 and print "omega 55" through write 2 global out uchar 16 3 fn main to int 4 s = ulong 0 5 for i ulong 11 6 s = add s i 7 end 8 put out 0 111 9 put out 1 109 10 put out 2 101 11 put out 3 103 12 put out 4 97 13 put out 5 32 14 put out 6 uchar add div s 10 48 15 put out 7 uchar add rem s 10 48 16 put out 8 10 17 w = write 1 out 0 9 18 ret 0 19 end