||THE HYPERCARD CENTER
Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
Value returned: an integer equal to the number of seconds between midnight, January 1, 1904, and the current time set in your computer
-- Check the speed of an operation
put 0 into total
put the seconds into startTime
repeat with number = 1 to 1000
set cursor to busy
add number to total
put the seconds - startTime into totalTime
answer "The sum of numbers 1 to 1000 is" && total &&¬
"and it took" && totalTime && "seconds to figure this out."
« screenRect | HyperTalk Reference
| selectedButton »
(March 24, 2022)
Switch to Modern View