> Now it works. But WHY?

  Because that's the way random number generators works.  They're not
random at all, they generate completely predictable number sequences
from a "seed": each time you use the same seed, you get the exact same
sequence.  In your case, you used os.time() as a seed, which is an
integral number of seconds elapsed since some fixed date, and the fact
you saw the same number ten times simply means your code was ran ten
times within the same second.

        Arthur
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to