Think of something that you wish Authorware could do but it doesn't?  Let the our good friends at Macromedia know via the wishlist.

Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed.

Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list.


1069 - Why would I ever use SystemSeconds?

by - Joseph Ganci

I've seen the system variable SystemsSconds used in several expert scripts, where a user variable is set at the start to this variable, but I've never understood why. Can you explain?

It's a good question, actually. SystemSeconds just tells you how many seconds your system had been turned on currently. This information is not all that useful. However, you can use that to tell the difference between one point and another. Let's say that when you start something, SystemSeconds = 13101 and you set a user variable secs to it. Later, you want to know how much time has passed. SystemSeconds now will have a higher value, because more time has passed. Let's say it's 14109. By using

systemseconds - secs

we'll have our answer, 1008 seconds have passed.

There are 0 reviews
Add your review