diff --git a/source/manual/lua-scripting/inline-lua.html b/source/manual/lua-scripting/inline-lua.html index 6a416e306..0ada8aa5c 100644 --- a/source/manual/lua-scripting/inline-lua.html +++ b/source/manual/lua-scripting/inline-lua.html @@ -78,7 +78,7 @@
The Lua boolean
data type may be passed to the Lua function with true
or false
, and any return
to Rainmeter of a boolean true
will be 1 and false
will be 0.
myTable[index]
, may not be directly used in a parameter to the Lua function, you will need to pass the table name and the index number or string as separate parameters and use them to access the table in Lua. However, the Lua may return a single value from a table with return myTable[index]
. The TranslateDay example below demonstrates this.
+Lua tables, myTable[index]
or myTable.index
, may not be directly used in a parameter to the Lua function, or as a reference to a table object set as a variable in Lua. You will need to pass the table name and the index number or string as separate parameters and use them to access the table in Lua. However, the Lua may return a single value from a table with return myTable[index]
. The TranslateDay example below demonstrates this.
The Lua nil
data type, indicating that a value doesn't exist, may be used in a parameter, but not as a return type to Rainmeter. In some cases, the boolean
value of false
may be used to indicate NOT, in place of nil
.