lua-users home
lua-l archive

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

On Wed, Jul 1, 2020, at 21:10, Roberto Ierusalimschy wrote:

> 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').

[lua-5.4.0 08:07] ./src/lua -e "tostring(1.0)"
buff: 0x7ffe557f6140, numbuff: 0x7ffe557f6150
Bus error (core dumped)