WS_EX_LAYERED = &H80000 to Rebol Int?
[1/4] from: tbrownell::yahoo::com at: 3-Feb-2003 15:58
How does one convert this to an integer?
WS_EX_LAYERED = &H80000
WS_EX_LAYERED: ?
[2/4] from: amicom:sonic at: 4-Feb-2003 7:03
Is this what you were looking for? It's not pretty, but it works.
>> tmp: rejoin ["#{" skip ws_ex_layered 2 "}"]
== "#{80000}"
>> if even? length? tmp [insert at tmp 3 "0"]
== "80000}"
>> to-integer load tmp
== 524288
Bohdan "Bo" Lechnowsky
Lechnowsky Technical Consulting
At 03:58 PM 2/3/03 -0800, you wrote:
[3/4] from: g:santilli:tiscalinet:it at: 4-Feb-2003 17:54
Hi Bohdan,
On Tuesday, February 4, 2003, 4:03:15 PM, you wrote:
BoRL> >> tmp: rejoin ["#{" skip ws_ex_layered 2 "}"]
BoRL> == "#{80000}"
BoRL> >> if even? length? tmp [insert at tmp 3 "0"]
BoRL> == "80000}"
BoRL> >> to-integer load tmp
BoRL> == 524288
>> to-integer #80000
== 524288
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[4/4] from: amicom:sonic at: 4-Feb-2003 20:50
Gabriele,
Oh, sure...you make it look SOOOO easy! ;-)
-Bo
At 05:54 PM 2/4/03 +0100, you wrote: