Whats the global url
variable for, and why is it empty?
I’m not sure what variable you are referring to. How did you come across it?
Even more, if a variable is ‘empty’ (or nil) in Lua, then it does not exist at all, unlike for some other languages!
Where did you encounter this?
Update: @sven and I tried it out and indeed, if you pprint (url)
it show you an empty table.
We’re not sure where it originates from (yet)
6 Likes
Hmm, so it’s an empty global table? Iterate the globals like this:
for name,value in pairs(_G) do
print(name)
end
I’ve never seen url before either. Strange.