Returns the time in seconds that the program has been running.
[ dElapsedTime = ] Object.ElapsedTime
The ElapsedTime property syntax has the following parts:
Name |
Type |
Description |
Object |
AProgram |
AProgram object |
dElapsedTime |
Double |
An integer specifying the time in seconds that the program has been running. The default value is 0. |
The following statement shows how to tell if the program has been running for over an hour:
if Program.ElapsedTime > 3600 then print "Test program has been running for over an hour."