tb0079.pp 439 B

1234567891011121314151617181920212223242526
  1. { Old file: tbs0091.pp }
  2. { missing standard functions in constant expressions OK 0.99.7 (PFV) }
  3. { Page 22 of The Language Guide of Turbo Pascal }
  4. var
  5. t: byte;
  6. const
  7. a = Trunc(1.3);
  8. b = Round(1.6);
  9. c = abs(-5);
  10. ErrStr = 'Hello!';
  11. d = Length(ErrStr);
  12. e = Lo($1234);
  13. f = Hi($1234);
  14. g = Chr(34);
  15. h = Odd(1);
  16. i = Ord('3');
  17. j = Pred(34);
  18. l = Sizeof(t);
  19. m = Succ(9);
  20. n = Swap($1234);
  21. o = ptr(0,0);
  22. Begin
  23. end.