> This is what is said here > http://gambasdoc.org/help/howto/extern?v3 > "More On Pointers" > READ #mypointer, var1_4byte > mypointer += 4 > READ #mypointer, var2_4byte > > > i tried > Print "\nRead the pointer" > Print "Integer read:"; Integer@(pPointer) > pPointer += 4 > Print "Float read:"; Float@(pPointer) > > But this raises an error, "Type mismatch, wanted number get pointer > instead" Is this a bug? >
I have implemented pointer arithmetic in revision #3452, so you should not have that error anymore. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user