[fpc-pascal] about dynamic array -- p

spir ☣ denis.spir at gmail.com
Fri May 7 11:42:03 CEST 2010


On Fri, 7 May 2010 06:10:30 +0200
cobines <cobines at gmail.com> wrote:


PS : I also need the pointer's mediation when a func/proc expects a (typed) element. Must rewrite the code to use an element pointer as parameter (and pass a pointer from the list). This is more annoying since it obscures the func/proc's signature.

Is the source of this issue really that these pointers are untyped? If yes, maybe a way to get rid of such noise would be to subtype TFPList into a list of typed pointers?

(I don't know yet how to use fpc's type system. So new in this domain I have no idea what the difference between type & class may be ;-) But this will come soon, I guess...)

Denis
________________________________

vit esse estrany ☣

spir.wikidot.com



More information about the fpc-pascal mailing list