tobject4.pp 229 B

1234567891011121314151617
  1. {$mode objfpc}
  2. type
  3. to1 = class
  4. a1 : array[0..100] of byte;
  5. s1 : ansistring;
  6. a2 : array[0..100] of byte;
  7. s2 : ansistring;
  8. s3 : ansistring;
  9. end;
  10. var
  11. o1 : to1;
  12. begin
  13. o1:=to1.create;
  14. o1.destroy;
  15. end.