On Fri, 7 May 2010 06:10:30 +0200
cobines <cobi...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to