This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Thresholds
#4
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.
Reply


Messages In This Thread
Thresholds - by Bergman - 17.01.2024, 09:35
RE: Thresholds - by RomansP - 17.01.2024, 10:33
RE: Thresholds - by Bergman - 17.01.2024, 17:27
RE: Thresholds - by RomansP - 18.01.2024, 07:33

Forum Jump: