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/aienux/blob/main/native/omega/allen/tests/view.om # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. 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 `aienux / native / omega / allen / tests / view.om` 25 lines ยท 553 bytes Raw Blame History 1 text Vtext "one two three\nfour\n\nfive" 2 fn main to int 3 codebeg 1 4 put C 1 1 5 put C 2 len Vtext 6 put C 4 1 7 for i ulong len Vtext 8 put Code i get Vtext i 9 end 10 put C 3 ulong codecrc 11 check rows 8 4096 901 12 check eq get View 0 5 902 13 check eq get Rowlen 0 8 903 14 check eq get Rowlen 1 5 904 15 check eq get Rowline 0 1 905 16 check eq get Rowline 1 0 906 17 check eq get Rowline 2 2 907 18 check eq get Rowlen 3 0 908 19 check eq scroll 100 2 3 909 20 check eq scroll -1 2 2 910 21 check eq scroll -99 2 0 911 22 check not rows 0 4096 912 23 check eq get View 0 5 913 24 ret int get Fails 0 25 end