mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Basic module system (only file namespacing)
This commit is contained in:
+4
-7
@@ -1,13 +1,10 @@
|
||||
// #load "basic.odin"
|
||||
#import "runtime.odin"
|
||||
#import "print.odin"
|
||||
|
||||
test_proc :: proc() {
|
||||
println("Hello?")
|
||||
}
|
||||
|
||||
|
||||
main :: proc() {
|
||||
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