function test(table)
local orig
for token in string.gmatch(table, '([^.]+)') do
if orig == nil then
orig = token
else
orig = orig.."."..token
end
if not _G[token] or not _G[orig] then
print(orig)
_G[orig] = {}
print(_G[orig])
end
end
end
test("ADVANCED_INTERFACE_GLOBAL_CONSTANTS.STAMPS.ADVANCED_USER_INTERFACE.VERSION")
print(ADVANCED_INTERFACE_GLOBAL_CONSTANTS)
print(ADVANCED_INTERFACE_GLOBAL_CONSTANTS.STAMPS)
print(ADVANCED_INTERFACE_GLOBAL_CONSTANTS.STAMPS.ADVANCED_USER_INTERFACE)
print(ADVANCED_INTERFACE_GLOBAL_CONSTANTS.STAMPS.ADVANCED_USER_INTERFACE.VERSION)