18.08.2015, 09:25
Thank you for that elegant (a > 0). Also didnt think of the # operator, was abit sceptical to use it with the whole true / false / nil statement.
Will a false also show as a nil when it comes to the #? Would it be better to replace it with table.getn(myobjects) since that one cant suddenly stop on a nil value and end the statement like # (according to some other forums).
Will a false also show as a nil when it comes to the #? Would it be better to replace it with table.getn(myobjects) since that one cant suddenly stop on a nil value and end the statement like # (according to some other forums).