Does anybody know how to print the content of commandArray ?
In a very big LUA script, I prepare a lot of command in commandArray like this :
Code: Select all
commandArray[1]={['device']='Off'}
commandArray[2]={['device'']='Stopped AFTER 5'}
commandArray[3]={['device']='Off AFTER 300'}
commandArray[4]={['deviceX']='Off'}
...
return commandArray
But I have a bug, and I would like to check what I finally have in commandArray