Lua Attempt To Concatenate A Boolean Value

Because control structures in Lua only consider nil and false to be false, and anything else to be true, this will always enter the if statement, which is not what you want either. There is no way that you can use binary operators like those provided in programming languages to compare a single variable to a list of values.

lua attempt to concatenate a boolean value 1

teaching myself lua and trying to work out how to access keys and values in nested tables when you have an array of them. If I had for example the following table: local coupledNumbers = {} local...

lua attempt to concatenate a boolean value 2