【发布时间】:2018-11-06 04:12:47
【问题描述】:
作为一名新的 lua 程序员,我喜欢在 lua 中学习新事物。我正在学习:https://www.tutorialspoint.com/lua/lua_loops.htm 但是,当我练习我的代码时,它不会工作。在我的代码中,我定义了一个名为“FolderImBalanced”的对象并将该对象设为 TRUE。后来在代码中,我将对象更改为 FALSE。但是代码不起作用。怎么来的? 请注意:我在消息中有一些“代码”内容,因此消息中的代码不是真实代码。它只是一条消息,我当时正在练习使用消息。
--[[Inset Nil.Lua("ServerStorage")]]--
GetServerStats,UserImbalance = "Lua Server Status","Inbalance Pulsle"
print(UserImbalance)
--[[Do:Value=="Nil" Function Ontouched.]]--
FolderImBalanced,NewNilValue = true,false
while (true)
do
FolderImBalanced = false
end
print(FolderImBalanced)
【问题讨论】:
标签: lua