mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Remove len(), cap() and replace with selectors; fix defer in match
This commit is contained in:
+6
-2
@@ -1,6 +1,10 @@
|
||||
#load "basic.odin"
|
||||
|
||||
main :: proc() {
|
||||
println("% % % %", "Hellope", true, 6.28, [4]int{1, 2, 3, 4})
|
||||
println("%0 %1 %0", "Hellope", 34)
|
||||
println("% % % %", "Hellope", true, 6.28, {4}int{1, 2, 3, 4})
|
||||
x: struct #ordered {
|
||||
x, y: int
|
||||
z: f32
|
||||
}
|
||||
println("%", x)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user