lua:introduction_to_lua_programming
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
lua:introduction_to_lua_programming [2021/07/22 07:31] – ↷ Page moved from introduction_to_lua_programming to lua:introduction_to_lua_programming atolstov | lua:introduction_to_lua_programming [2021/08/06 08:48] – emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ : | ||
+ | |||
====== Introduction to Lua programming ====== | ====== Introduction to Lua programming ====== | ||
- | WebHMI allows you to create custom programs (scripts) in [[https:// | + | WebHMI allows you to create custom programs (scripts) in [[https:// |
+ | The scripts are managed in the **Setup -> Scripts** menu item. | ||
If you have no experience with Lua language read this tutorial at first [[ https:// | If you have no experience with Lua language read this tutorial at first [[ https:// | ||
Line 102: | Line 105: | ||
Here we see that the error occurred while trying to perform an arithmetic operation with an undefined variable (value is **nil**). The error occurred in script with id=1, its name was ' | Here we see that the error occurred while trying to perform an arithmetic operation with an undefined variable (value is **nil**). The error occurred in script with id=1, its name was ' | ||
- | Thus, using this log you can find all runtime errors in your scripts. Also for debugging you can use watch console window, which is available in [[scripts editor]]. | + | Thus, using this log you can find all runtime errors in your scripts. Also for debugging you can use watch console window, which is available in [[lua: |
lua/introduction_to_lua_programming.txt · Last modified: 2022/01/17 20:58 by 127.0.0.1