mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Prefix proc syntax
This commit is contained in:
+5
-2
@@ -11,6 +11,9 @@
|
||||
#import "utf8.odin";
|
||||
#import "utf16.odin";
|
||||
|
||||
const main = proc() {
|
||||
fmt.println("Hello");
|
||||
proc main() {
|
||||
var x = proc() {
|
||||
fmt.println("Hello");
|
||||
};
|
||||
x();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user