Ian Haywood ha scritto: > On Fri, Jan 14, 2011 at 8:41 AM, Demosthenes Koptsis > <demosthen...@gmail.com> wrote: > >> :) Pointers are tricky! >>
> Aaaa... of course, pointer is not correct to free after "pp += 4". > Though, result shouldn't be signal 11. > It could not be different. > yes, the ability to avoid pointers is one of the main advantages of > higher-level languages like Gambas. > I'm curious to know why you guys are so fascinated by them, other than > interfacing with C libraries I would have thought they should be left > well alone. > I agree. But, if one really wants pointers, one could create a wrapping class around the real pointer, which makes checks before doing operations -> pointers in OOP fashion... Regards, Doriano ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user