![](https://secure.gravatar.com/avatar/ab73c799733cb79686500b0adbf33bb8.jpg?s=120&d=mm&r=g)
I know this and I have triggerd this by hand. So there is a lot of time between. I have purged files between every run and I got the same result if I wait 1 second, 1 minute or 1 day.
Well, then it probably qualifies as a bug, and, since the .tuc file has apparently been dismissed as a cause, you'd have to provide more precise information if you're interested in having it corrected (or do the debugging yourself, of course).
Arthur
I have found a discussion on this thema. See http://lua-users.org/lists/lua-l/2007-03/msg00564.html So I have changed the example to ------------------------------------------------------------- \starttext \startluacode math.randomseed(os.time()) _=math.random() \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'} context('%s string', a[math.random(1,3)]) \stopluacode \stoptext ------------------------------------------------------------- and this is working ok! Wolfgang
![](https://secure.gravatar.com/avatar/a0f6b595b0e3b7f3abba19eeb8261fc2.jpg?s=120&d=mm&r=g)
Interesting, thanks for the research. So now we know you use a Mac :-) Arthur
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 08.04.10 09:41, schrieb Arthur Reutenauer:
Interesting, thanks for the research. So now we know you use a Mac :-)
Sure? I think he use windows, take a look at the mail header: Pegasus Mail for Windows (4.41, DE v4.41 R1) Wolfgang
![](https://secure.gravatar.com/avatar/a0f6b595b0e3b7f3abba19eeb8261fc2.jpg?s=120&d=mm&r=g)
Sure? I think he use windows, take a look at the mail header:
Pegasus Mail for Windows (4.41, DE v4.41 R1)
Right, I was misled by the thread on the Lua list he pointed to, that focused on the rand() implementation on Mac OS and other BSD descendants (I had overseen that it mentioned the same problem also happened on Windows). But let's drop the discussion there, lest Anonymous ConTeXt User starts worrying we're going to track him down, too :-) (I have contacts at Google on different continents!) Arthur
participants (3)
-
Arthur Reutenauer
-
Wolfgang Schuster
-
Wolfgang Werners-Lucchini