[Gambas-user] R: ieee754

Benoît Minisini gambas at ...1...
Fri Dec 27 15:54:21 CET 2013


Le 27/12/2013 15:20, wally a écrit :
> Thank You Jussi
>
> it's the 27th time i forgot the seek command  :)
> now works
>

You can do that now since Gambas 3.1:

Dim i As Integer
Dim x As Single

i = &H3EAAAAAA&
x = Single@(VarPtr(i))

OR

i = &H3EAAAAAA&
x = Single@(MkInt$(i))

Isn't it faster?

-- 
Benoît Minisini




More information about the User mailing list