lua-users home
lua-l archive

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

sorry about another Lua beginner "internals question".

I am just looking at my time functions, and I recognized that timer(0)
is invoked at some times in Lua to create a randomization seed.

I changed the code of my timer() function now, so that I am sure a
real random seed is given there (my microcontroller has a Random
Number Generator on board for this purpose), but I do not really see
any changes.

(In a first guess I would expect, that then the memory address of my
Lua Base state possibly would always be at some other address? ... or
what exactly are the implications of this "random seed"?).