[Gambas-user] Convert an Hex To integer (Val Function)
Pablo Vera
pvera at ...729...
Mon Sep 19 15:53:31 CEST 2005
Put an ampersand at the end, like this:
Val("&HC3C2&")
it returns 50114.
Saludos,
Pablo Vera
__________________________________________________________1
ariafrancesco at ...86... wrote:
> Why the function :
>
> Val("&HC3C2") respond with -15422 (a short)
> when the correct value is 50114 (an integer) ??
>
> How can I convert an Hex like C3C2 in an Integer ??
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
More information about the User
mailing list