I found in a fpc program a statement sort of: Type TSomeType = (a,b,c) TaType = set of TSometype var setA,setB: TaType; ..... *if setA * setB = [] then doSomething*;
which I found very smart to detect if the two sets have some common elements, but I've been unable to find in the fpc documentation how the * operator is overloaded in fpc when dealing with enumerated and sets of enumerated types. Should I find out by trial and error or it's written somewhere?
Thanks, Giuliano -- Do not do to others as you would have them do to you.They might have different tastes.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal