lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


a fast one: I'm trying to do this:

tab={

function b()
  echo "hi!";
end;

};


but it fails. However

tab={

b=function()
  echo "hi!";
end;

};

works. Is this the intended way to work? I fail to see
any reason to disallow the first one




Happy new year! :)
Kak

Send instant messages to your online friends http://uk.messenger.yahoo.com