• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

error

  1. S

    Lua error. My file name is trans.lua. the error is - trans.lua:1: '=' expected

    function onEvent(name, value1, value2) setProperty('trans.visible', true); objectPlayAnimation('trans', 'cool', true); end...
  2. A

    Lua ignoring float type

    Hello, I´m calling a function in lua to get some data via ubus. I need to show this info in a web. The table this method returns is the following. The problem is lua is just getting some of the data, not all. I can´t get the float values. When I iterate the table c_r, c_s, c_t and soc don´t...
Top