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.

Weird behaviour with nested tables and log
#4
(30.12.2019, 09:11)Erwin van der Zwart Wrote: Hi,

Not sure if it’s always needed but you are missing the step size of the for loop.

for start, stop, step do, in your case for i=1,#tPresenceCheck, do

BR,

Erwin

Thx for the quick reply.

LUA should default the step size to 1 if missing.
Tried anyway to add ,1 but in vain.

It is really odd. I can actually comment out any one of the four "log" statements inside the for-loop and things will work fine.
Once all log statements are there, I do not get any AAAAAAAAA or BBBBBB.

Is it something basic I am missing?

Thx

Rgds
Christian
Reply


Messages In This Thread
RE: Weird behaviour with nested tables and log - by mjaanes - 30.12.2019, 10:46

Forum Jump: