Milliseconds (Msecs) Function
Syntax: milliseconds () or
Create a button called Milliseconds and place the following mouseDown handler into its script:
put the milliseconds into startmsecs
repeat until the mouse is up
put the msecs into endmsecs
&& totalmsecs/1000 && "seconds" end mouseDown
Now click and hold down the mouse for a few seconds. When you release the mouse, a dialog appears telling you how long you held the mouse down.
This text has been mechanically extracted from the Oracle Media Objects 220.127.116.11 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.