试用lua:lua学习

时间:2024-03-03 18:50:58
【文件属性】:

文件名称:试用lua:lua学习

文件大小:10KB

文件格式:ZIP

更新时间:2024-03-03 18:50:58

Lua

审讯 lua学习 乱搞 〜=不等于。 if s ~= ' walternate ' then -- ~= is not equals. -- Equality check is == like Python; ok for strs. -- Calls with one string param don't need parens: print ' not equals walternate ' -- Works fine. end 获取更多信息。 -- No difference between these myStr = " Hi!! " myStr = ' Hi!! ' myStr = [[ Hi!! ]] -- The 'weird' way to make a string literal IMO... -- Double quotes enclosed i


【文件预览】:
trial-lua-master
----.gitignore(330B)
----README.md(9KB)
----LICENSE(1KB)
----src()
--------learnlua.lua(11KB)
--------localize.lua(1KB)

网友评论