You don't mention what version of REBOL is requird for this script.
>> cliks: make routine! [
[
[          return:     [integer!]
[        ] kern32 "GetTickCount"
** Script Error: Feature not available in this REBOL

   Just as a general note, could people include something that states what
version of REBOL is required to run their scripts?

----- Original Message -----
From: "Terry Brownell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 5:53 AM
Subject: [REBOL] Windows "Uptime" API


>
> 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.
>

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

Reply via email to