tbs0251.pp 388 B

1234567891011121314151617181920212223242526
  1. uses erroru;
  2. const
  3. c : byte = 5;
  4. r : real = 3.4;
  5. var
  6. l : longint;
  7. cc : char;
  8. rr : real;
  9. begin
  10. l:=longint(@r);
  11. if (l mod 4)<>0 then
  12. begin
  13. Writeln('static const are not aligned properly !');
  14. error;
  15. end;
  16. cc:='d';
  17. l:=longint(@rr);
  18. if (l mod 4)<>0 then
  19. begin
  20. Writeln('static var are not aligned properly !');
  21. error;
  22. end;
  23. end.