complete simple tutorial

This commit is contained in:
ValKmjolnir
2021-10-14 13:42:07 +08:00
parent 818685c48d
commit 58ea303202
2 changed files with 220 additions and 148 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
import("lib.nas");
var student=func(name,age)
{
var (n,a)=(name,age);
var student=func(n,a){
return {
print_info:func println(n,' ',a),
set_age: func(age) a=age,