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 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.