ex32.pp 427 B

1234567891011121314151617181920212223
  1. Program Example32;
  2. { Program to demonstrate the Inc function. }
  3. Const
  4. C : Cardinal = 1;
  5. L : Longint = 1;
  6. I : Integer = 1;
  7. W : Word = 1;
  8. B : Byte = 1;
  9. SI : ShortInt = 1;
  10. CH : Char = 'A';
  11. begin
  12. Inc (C); { C:=2 }
  13. Inc (L,5); { L:=6 }
  14. Inc (I,-3); { I:=-2 }
  15. Inc (W,3); { W:=4 }
  16. Inc (B,100); { B:=101 }
  17. Inc (SI,-3); { Si:=-2 }
  18. Inc (CH,1); { ch:='B' }
  19. end.