18.01.2024, 07:33
In Lua, variables can be either local or global, and their scope determines where they can be accessed.
If before variable is local - means variable is local, if before variable is nothing it means variable is global.
Here is a pretty good summary about lua.
https://learnxinyminutes.com/docs/lua/
But you also can use chatGPT to improve your coding and ask some questions about code.
Regards,
Romans.
If before variable is local - means variable is local, if before variable is nothing it means variable is global.
Here is a pretty good summary about lua.
https://learnxinyminutes.com/docs/lua/
But you also can use chatGPT to improve your coding and ask some questions about code.
Regards,
Romans.