[fpc-pascal] Questions regarding arrays

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Sep 23 10:54:11 CEST 2010


On 23 September 2010 09:50, Honza wrote:
>
> AFAIK yes as long as you don't break (it's possible using some wild
> casting) the ref counting mechanism and handle the zero length case.

In my case [working with the Xlib library], I will never have the case
of a zero length array. So that I don't need to worry about. I will
only need an array if I need to send more than three items (DND mime
types in this case) to the Xlib library.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/



More information about the fpc-pascal mailing list