tb0204.pp 577 B

123456789101112131415161718192021222324
  1. { Old file: tbs0240.pp }
  2. { Problems with larges value is case statements OK 0.99.11 (FK) }
  3. Program TEST;
  4. var CurFileCrc32f : cardinal{Longint};
  5. CheckThis : String;
  6. BEGIN
  7. CurFileCrc32f := $C5CAF43C;
  8. CheckThis := '';
  9. Case CurFileCrc32f of
  10. $F3DC2AF0 : CheckThis := ' First ';
  11. $27BF798B : CheckThis := ' Second ';
  12. $7BA5BB19 : CheckThis := ' Third';
  13. $FA246A81 : CheckThis := ' Forth';
  14. $8A00B508 : CheckThis := ' Fifth';
  15. $C5CAF43C : CheckThis := ' Sixth';
  16. End;
  17. Writeln( CheckThis );
  18. If CheckThis<>' Sixth' then halt(1);
  19. END.