While were on the api thing, here's one that gives the system uptime in hours...

rebol []

kern32: load/library %kernel32.dll

cliks: make routine! [
         
      return:     [integer!]
    ] kern32 "GetTickCount"

Uptime: cliks / 1000 / 60 / 60 
print uptime
halt

TBrownell


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to