i made an example for StrPtr, it is the next one,
' Gambas module file
PUBLIC SUB Main()
DIM p AS Pointer
DIM s AS String
p = Alloc("this is a string")
'READ #p, s
s = StrPtr(p)
PRINT s
Free(p)
END
I just want to question what is the difference between
'READ #p, s
s = StrPtr(p)
both of them make the same work.
What was the necessity to make a StrPtr function?
--
Regards,
Demosthenes Koptsis.
------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:
WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user