-
-
Save pete/10403457 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implement A; | |
include "sys.m"; sys: Sys; | |
include "draw.m"; | |
A: module { | |
init: fn(nil: ref Draw->Context, nil: list of string); | |
}; | |
init(nil: ref Draw->Context, nil: list of string) | |
{ | |
sys = load Sys Sys->PATH; | |
s := "üasdf"; | |
for(i := 0; i < len s; i++) | |
sys->print("%d\t%d\t%c\n", i, s[i], s[i]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 252 ü | |
1 97 a | |
2 115 s | |
3 100 d | |
4 102 f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment