Skip to content

Commit 0889606

Browse files
committed
开始lua的学习
1 parent 2fd7365 commit 0889606

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Lua/枚举方法.lua

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Student={
2+
age=16,
3+
sex="girl",
4+
up=function ()
5+
print("这是小明的信息")
6+
end
7+
}
8+
print(Student.sex)

0 commit comments

Comments
 (0)