在Lua中有一个叫做函数类型,使我们能够知道变量的类型。如下一些例子给出了下面的代码。 print(type("What is my type")) --> string t=10 print(type(5.8*t)) ...
確定! 回上一頁