get char -3 to -1 of milliseconds() gives always 000 however, put milliseconds() into m get char -3 to -1 of m gives the expected variation in value. This happens only when the code is a part of a script. From the message box, either variant works same. A bug or feature? Robert