tassignmentoperator1.pp 185 B

1234567891011121314151617
  1. { %fail }
  2. program tassignmentoperator1;
  3. {$mode objfpc}
  4. operator := (S1, S2: String): Integer;
  5. begin
  6. Result := Length(S1);
  7. end;
  8. var
  9. S: String;
  10. V: Integer;
  11. begin
  12. V := S;
  13. end.