uw4103.pp 374 B

12345678910111213141516171819202122232425262728293031
  1. unit uw4103;
  2. interface
  3. type junk=record
  4. data:string;
  5. end;
  6. operator :=(const s:string) result:junk;
  7. implementation
  8. operator :=(const s:string) result:junk;
  9. begin
  10. result.data:=s;
  11. end;
  12. operator :=(const n:longint) result:junk;
  13. begin
  14. str(n,result.data);
  15. end;
  16. operator :=(const n:cardinal) result:junk;
  17. begin
  18. str(n,result.data);
  19. end;
  20. end.