Module:If empty: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
lua doesn't cast nil into blank strings apparently
mNo edit summary
(lua doesn't cast nil into blank strings apparently)
Line 5:
local i = 0
args[table.getn(args)] = ''
while 0args[i] == nil or string.len(args[i]) == 0 do
i = i + 1
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu