Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Windows "Uptime" API

From: tbrownell::shaw::ca at: 13-Mar-2002 2:53

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