--- In [email protected], "dleidinger" <dleidin...@...> wrote:
>
> If i enter a fix hexadecimal value in win.postmessage like:
> win.postmessage(l_handle,0x111,0x11112222,0x33334444)
> i can see with winspector, that this message is sent correctly.
> 
> But if i use variables which contain hexvalues it doesn't work:
> local l_lparm = "0x33334444"
> win.postmessage(l_handle,0x111,0x11112222,l_lparm)
> 
> Winspector displays 0x00000000 for lparm
>

local l_lparm = 0x33334444

No quotes if you want the 0x to be processed properly.

Normally leave off quotes for numbers, although it is true that "123" is same 
as 123.  But neither "0x123" or "123.123" will work as numbers.



Reply via email to