Just a WTF:

Just a WTF:

TMyRecord = record
  AString: string;
  AnInt: integer;
end;
TMyRecordHelper = record helper for TMyRecord
  function DoCalc: string;
end;

Why.... just.. why....

Comments

  1. LaKraven Studios Yes I thought this, but as you say, it's also just stupid so end result is the same ;)

    ReplyDelete
  2. Throwing it way out there but maybe they have plans of making the code backwards compatible to a version of Delphi that don't have record helpers?

    ReplyDelete
  3. Bill Meyer​ You know just because it is possible doesn't mean it should be done. Only a joey would do that. :)

    ReplyDelete

Post a Comment