changeset 48:b3679847e292

Kind of useful. I've accidentally gotten a table as the key before.
author John@Yosemite-PC
date Wed, 21 Mar 2012 22:51:34 -0400
parents 8856fc38cd41
children f52d472f0b0a
files Utility.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Utility.lua	Fri Mar 16 08:56:04 2012 -0400
+++ b/Utility.lua	Wed Mar 21 22:51:34 2012 -0400
@@ -47,7 +47,8 @@
         elseif( type(v) == "number" ) then
             print(depth .. i .. " - " .. tostring(v))
         elseif( type(v) == "table" ) then
-            print(depth .. i .." - ") 
+            --if v == table then return end
+            print(depth .. tostring(i) .." - ") 
             PrintTable(v,depth.."   ")
         elseif( type(v) == "boolean" ) then
             print(depth .. i .. " - " .. tostring(v))