I am using the following lua script to access and read an external lua file:
FileStr = "lariatData-sgeT-2012-05-31.lua"
Hnd, ErrStr = io.open(FileStr, "r")
if Hnd then
dofile(FileStr)
for Str in Hnd:lines() do
print(Str, "\n")
for exec, val in pairs(sgeT) do
print(exec.." "..val, "\n")
end
end
Hnd.close()
else
print(ErrStr, "\n")
end
However, when the values for the exec key are returned, I am getting a hexadecimal memory location. FOr example, one line of output is as follows:
table: 07x7fdc5b2538f0