lua-users home
lua-l archive

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

> I'd like to have a definitive statement from the Lua authors
> whether the Lua language as of version 5.x has a defined
> evaluation and assignment order (with respect to side-effects) or
> whether it is explicitly undefined. Also whether there is any
> guarantee about the semantics of future versions.

Evaluation order and assignment order are both explicitly undefined.

-- Roberto