This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Logic script
#8
objects table is guaranteed a be normal array without any holes (nil elements), so # operator does the same as table.getn

From Lua manual: Both nil and false make a condition false; any other value makes it true.
Reply


Messages In This Thread
Logic script - by tlandeka - 13.08.2015, 10:42
RE: Logic script - by Pawel - 13.08.2015, 19:04
RE: Logic script - by tlandeka - 14.08.2015, 13:18
RE: Logic script - by gtsamis - 14.08.2015, 23:31
RE: Logic script - by Sandstrand - 17.08.2015, 15:58
RE: Logic script - by admin - 18.08.2015, 06:04
RE: Logic script - by Sandstrand - 18.08.2015, 09:25
RE: Logic script - by admin - 18.08.2015, 10:17

Forum Jump: