> Here is another question-case. > > i Alloc 12 bytes. > i set in memory an integer 4 bytes > then i set in memory a float 8 bytes. > > i can read the memory stream with READ, ok! > > How can i to this with Integer@() and Float@() functions? > How can i move inside memory and use Integer@() and Float@() >
I haven't try this in gambas, but in C/C++ variables are in memory in straight row without any metadata. I assume this is also case in gambas, so; iFirstInteger = Integer@(pPointer) iNextInteger = Integer@(pPointer + 4) Jussi ------------------------------------------------------------------------------ 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