[fpc-pascal] How can I implement "thrice" in Free Pascal?

Andrew Pennebaker andrew.pennebaker at gmail.com
Tue Oct 18 19:59:44 CEST 2011


Thrice is designed to work for *any* array type, e.g. arrays of arrays of
arrays of bytes. Even if I hardcoded several thousand possible types, Thrice
wouldn't work for custom user types.

If you do find a way to make this work, please let me know.

Cheers,

Andrew Pennebaker
www.yellosoft.us

On Tue, Oct 18, 2011 at 5:39 AM, Vladimir Zhirov <vvzh.lists at gmail.com>wrote:

> Sven Barth wrote:
> > Generic functions are NOT implemented in trunk (at least as
> > far as I know...).
>
> Ouch, sorry. I read about "generic procedural types" at "New
> features trunk" wiki page and thought it was what OP need.
> Andrew, I apologize for misinformation and thanks Sven for
> correcting me.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111018/5d0e527c/attachment.html>


More information about the fpc-pascal mailing list