ts010000.pp 548 B

12345678910111213141516171819202122232425262728293031323334
  1. type
  2. tobject1 = class
  3. readl : longint;
  4. function readl2 : longint;
  5. procedure writel(l : longint);
  6. procedure writel2(l : longint);
  7. property l : longint read readl write writel;
  8. property l2 : longint read readl2 write writel2;
  9. end;
  10. procedure tobject1.writel(l : longint);
  11. begin
  12. end;
  13. procedure tobject1.writel2(l : longint);
  14. begin
  15. end;
  16. function tobject1.readl2 : longint;
  17. begin
  18. end;
  19. var
  20. object1 : tobject1;
  21. i : longint;
  22. begin
  23. i:=object1.l;
  24. i:=object1.l2;
  25. object1.l:=123;
  26. end.