On 25/02/2011 21.35, Javier Guerra Giraldez wrote:
if you return at most one value, just wrap your function call in parenthesis. table.insert (t,(f()))
Or, more explicitly, table.insert(t, f() or nil) -- Enrico