No subject


Thu Oct 26 19:20:09 CEST 2017


To          : gambas-user at lists.sourceforge.net
Cc          :
Date      : Mon, 19 Sep 2005 08:53:31 -0500
Subject : Re: [Gambas-user] Convert an Hex To integer (Val Function)=0D


> Put an ampersand at the end, like this:
>
>    Val("&HC3C2&")=0D
>
> 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 ??
> >
> > =0D
> >
> >
> >
> > -------------------------------------------------------
> > 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 v=
ery
> > own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.p=
hp
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> >
>
>
> -------------------------------------------------------
> 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=
=0D
> _______________________________________________
> 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