[fpc-pascal] Sets as array index?

Sven Barth pascaldragon at googlemail.com
Tue Oct 15 07:14:05 CEST 2013


Am 15.10.2013 07:11 schrieb "Jürgen Hestermann" <juergen.hestermann at gmx.de>:
>
> Am 2013-10-12 14:07, schrieb Jürgen Hestermann:
>
> > I want to do something like this (which is not directly possible but
maybe by some other way?):
> >
> > I := TagArray[TagSet];
> > I := TagArray[[tag1,tag5]];
> > or
> > I := TagArray[ord(TagSet)];
> > I := TagArray[ord([tag1,tag5])];
> >
> > I think that the compiler somehow needs to generate the bit mask for
[tag1,tag5]
> > internally anyway so maybe it's available by some function to the
programmer?
>
> First: Why does it take 3 days until my mail arrives in the list?

Problems with DNS on the mailing list server.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131015/ef4b1c44/attachment.html>


More information about the fpc-pascal mailing list