Byte, Word
ShortInt, Integer, LongInt, Comp
Integer
- Spazio Occupato: 2 bytes (16 bits)
- Rappresentazione Interna: Complemento a 2
- Dominio: -215 … +215-1
- Dichiarazione: Integer (Byte, Shortint, Word, Longint)
- Input: Readln(I);
- Output: Write(I); Write(I:n);
Espressioni INTERE
- Costante Intera: MaxInt, MaxLongInt
- Variabile Intera
- Operatore SENZA operandi: WhereX, WhereY
- Operatore con UN operando: +, -, Abs(), Pred(), Succ(), Sqr(), Random(), Lo(), Hi(), Swap()
- Operatore con UN operando ordinale: Ord()
- Operatore con UN operando reale: Round(), Trunc()
- Operatore con operandi stringa: Length(), Pos()
- Operatore con DUE operandi: +, -, *, Div, Mod