> More...
> 
> Dim TestSingle As Single
> Dim pp As Pointer
> 
>  TestSingle = 33.1
>  pp = VarPtr(TestSingle)
> 
>  SinglePtr(pp) = 33.1 is False! Gives -2...
> 
> 
> Jussi
> 

Actually SinglePtr() cannot work on local variables, because internally there 
is no "Single" local variable, only "Float".

Thanks for detecting that weird thing!

-- 
Benoît Minisini

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to