lua-users home
lua-l archive

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


On 9/21/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> But lua5 lost some of its simplicity on things like a stange limit on
> loadstring and the lost of _ALERT.

Which "strange limit on loadstring"?
--lhf


I should have make it clearer.  To create a large table with

action=''a','b','c'....)
loadstring(action) -- formerly dostring

4.0.1 works perfectly well but 5.1 gives an error "main function has more than 262143 items in a constructor".  I track it down to something with
MAXINT or MAXARG_Bx.  But I thought the only limit is the stack (from the manual or Roberto's book, can't remember).  The stack is OK I'm sure.