error in lua tutorial for print_r

hi,

in the tutorial 

https://coronalabs.com/blog/2014/09/02/tutorial-printing-table-contents/”, I have find an error.

At line 10 it’s write

print(indent.."["..pos.."] =\> "..tostring(t).." {")

but it’s tostring( val ), not tostring( t )

The example with “myTable” in your example show 2 sub-tables with the same references of the main table.

Yvan.