I := TagArray[TagSet]; 
I := TagArray[[tag1,tag5]]; 
or 
I := TagArray[ord(TagSet)]; 
I := TagArray[ord([tag1,tag5])]; 

It's unclear what you expect from such statements. I think you better
explain the high level problem, I smell a misdesign in the solution.



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/Sets-as-array-index-tp5717082p5717095.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to