Użytkownik:Sauron
Z Almanach
local z = { error_categories = {}; error_ids = {}; message_tail = {}; }
-- Whether variable is set or not
function is_set( var ) return not (var == nil or var == ); end
-- First set variable or nil if none
function first_set(...) local list = {...}; for _, var in pairs(list) do if is_set( var ) then return var; end end end
-- Whether needle is in haystack
function inArray( needl ... Patrz dalej >>>