lua-users home
lua-l archive

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


> > If you add this print in 'addnum2buff' instead, does the crash also
> > disapear?
> 
> No. It prints something (e.g. 0x7ffdb5514fb0) and then it crashes.

I am afraid I didn't ask what I wanted :-)  What I meant was to print
the value of 'numbuff' in 'addnum2buff' (not 'buff'); that is the value
that becomes 'buff' in 'tostringbuff'. Better still if you could print
both values ('numbuff' and 'buff' in 'addnum2buff').

Many thanks,

-- Roberto