Is a + operator that returns something other than the record valid? I tried doing that but I get an error.
type TWrapper = record class operator + (left: TWrapper; right: integer): integer; end; var wrapper: TWrapper; i: integer; begin i := wrapper + 1; // ERROR: "TWrapper" expected “LongInt” Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal