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

Andrew Pennebaker andrew.pennebaker at gmail.com
Tue Oct 18 20:03:43 CEST 2011


In particular, if anyone knows a way to implement a general concatenation
function Concat(Arr1, Arr2), let me know.

Cheers,

Andrew Pennebaker
www.yellosoft.us

On Tue, Oct 18, 2011 at 1:59 PM, Andrew Pennebaker <
andrew.pennebaker at gmail.com> wrote:

> 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/7445c6ec/attachment.html>


More information about the fpc-pascal mailing list