mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-07 07:56:06 +02:00
Rename return to end_func and add proper return statment
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ print_line Hello, ${name}!
|
||||
func greet:
|
||||
var msg = Hello, ${name}!
|
||||
print_line ${msg}
|
||||
return
|
||||
end_func
|
||||
|
||||
var name = Bob
|
||||
call greet
|
||||
|
||||
Reference in New Issue
Block a user