tw1969.pp 674 B

1234567891011121314151617181920212223242526272829303132333435
  1. { %fail }
  2. { Source provided for Free Pascal Bug Report 1969 }
  3. { Submitted by "Sergey Kosarevsky" on 2002-05-13 }
  4. { e-mail: [email protected] }
  5. Type tDemo=Object
  6. Static:Longint;
  7. Constructor Init;
  8. Procedure Run(Var Msg); Message 1; // But this is an Object, not a Class !!! How can a make use of this declaration ?
  9. End;
  10. Type tDemo1=Object
  11. Static:Longint;
  12. Constructor Init;
  13. Procedure Run; Dynamic; // I caouldn't find this keyword in documentation
  14. End;
  15. Constructor tDemo.Init;
  16. Begin
  17. End;
  18. Constructor tDemo1.Init;
  19. Begin
  20. End;
  21. Procedure tDemo.Run(Var Msg);
  22. Begin
  23. End;
  24. Procedure tDemo1.Run;
  25. Begin
  26. End;
  27. Begin
  28. End.