30.12.2019, 08:29
I am going crazy....
Working on a scheduled script and running it manually to check it.
The code below neither print AAAAAAAAAA nor BBBBBBBBBBBB.
However, if I comment out line 19 (log('DDDDDDDDDDD')), everything is printed out fine.
What am I missing?
Thanks in advance for any good input
Rgds
Christian
CODE:
----------
log('AAAAAAAAAAAAAAAAAAAAAAAAAAAA')
tPresenceCheck = {
{'Area1', 10 , '0/200/0' , {'21/4/19','24/4/19'}},
{'Area2', 15 , '5/200/0' , {'21/4/19','24/4/19','25/4/9'}}
}
log('BBBBBBBBBBBBBBBBBBBBBBBBBB')
log(tPresenceCheck)
log(#tPresenceCheck)
for i=1,#tPresenceCheck do
log('CCCCCCCCCCCCCCCCCCCCCC')
tCurr = tPresenceCheck[i]
log(tCurr)
sArea = tCurr[1]
log(sArea)
log('DDDDDDDDDDDDDDDD')
end
Working on a scheduled script and running it manually to check it.
The code below neither print AAAAAAAAAA nor BBBBBBBBBBBB.
However, if I comment out line 19 (log('DDDDDDDDDDD')), everything is printed out fine.
What am I missing?
Thanks in advance for any good input
Rgds
Christian
CODE:
----------
log('AAAAAAAAAAAAAAAAAAAAAAAAAAAA')
tPresenceCheck = {
{'Area1', 10 , '0/200/0' , {'21/4/19','24/4/19'}},
{'Area2', 15 , '5/200/0' , {'21/4/19','24/4/19','25/4/9'}}
}
log('BBBBBBBBBBBBBBBBBBBBBBBBBB')
log(tPresenceCheck)
log(#tPresenceCheck)
for i=1,#tPresenceCheck do
log('CCCCCCCCCCCCCCCCCCCCCC')
tCurr = tPresenceCheck[i]
log(tCurr)
sArea = tCurr[1]
log(sArea)
log('DDDDDDDDDDDDDDDD')
end