> With respect to Doriano, how would one use the memcpy() statement in > GAMBAS? I see from Wikipedia that "void *memcpy(void *dest, const void > *src, size_t n);" shows the syntax in C. My two questions are, how do > you call external library functions in gb, and how would you translate > the C syntax to gb syntax? >
Public Extern memcpy(pDest As Pointer, pSrc As Pointer, size As Integer) In "libc:6" Then example in Gambas; memcpy(Array1.Data, Array2.Data, Array2.Count * SizeOf(gb.Integer)) Jussi ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user