Good one Paul!

Often times, I'll use a routine name that emulates the API call and then
wrap functions around them that translate values to more rebol friendly
datatypes and values. E.g.

lib: load/library %kernel32.dll
get-tick-count: make routine! [return: [integer!]] lib "GetTickCount"
up-time: does [to time! divide get-tick-count 1000]
print up-time


--Gregg

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

Reply via email to