tb0129.pp 437 B

12345678910111213141516171819202122232425262728
  1. { Old file: tbs0149b.pp }
  2. { }
  3. {there is no crash when tset or c from unit a are used in OuterProcedure,
  4. it's only a problem when using them in a nested procedure/function}
  5. unit tb0129;
  6. interface
  7. uses ub0129;
  8. implementation
  9. Procedure OuterProcedure;
  10. function t(a: byte): byte;
  11. begin
  12. if a = c then t := a else t := 0;
  13. if a in tset {probably same bug}
  14. then t := a
  15. else t := 0
  16. end;
  17. Begin
  18. End;
  19. end.