Current code:
local apps = fs.list(appDir)
for k, v in pairs(apps) do
local file = fs.open(appDir .. "/" .. v, "r")
table["applications"][v] = loadstring(file.readAll())()
file.close()
print("LOADED " .. v)
table["applications"][v]()
end
There are multiple functions in the file it loaded. I want to be able to call table["applications"]["app"].startup() or .myOtherFunc()












