Slices and slice expressions

This commit is contained in:
gingerBill
2016-07-08 01:04:57 +01:00
parent 7430008fd7
commit 9ba2a6d02c
8 changed files with 327 additions and 48 deletions
+11 -2
View File
@@ -1,9 +1,18 @@
type float: f32;
type Vec2: struct {
x, y: f32;
}
print_string_array :: proc(args: []string) {
args[0] = "";
}
main :: proc() {
thing :: proc(n: int) -> int, f32 {
return n*n, 13.37;
}
_, _ := 1, 2;
thang :: proc(a: int, b: f32, s: string) {
}
}