lua-users home
lua-l archive

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

Can you explain the potential indeterminancy with the length operator a bit more, please?

The other functions you mention won't be available in the section which needs to be reproducible, but thanks for pointing them out.  (There will be a RNG, but it will be custom, and seeded from the input.)


On 12/14/2011 at 9:02 PM, Patrick Rapin <> wrote:
There are also obviously a number of library functions which are non
Most of them are in the "os" table.
Notably, os.clock(), and os.time() are guaranteed to change
over time...
And os.execute and os.getenv heavily depend on the environment.
The "io" library is not completely deterministic neither (io.popen
And I have serious doubts about collectgarbage(), package library,
math.random() and debug library.

Not to mention the # operator on tables not being sequences !