mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-21 05:05:00 -07: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