The INTEGER(1) type should be used for large arrays when memory is at a premium for variables which will have only positive, negative, and zero whole number values within the range of -129 to 127..

- integer-1-type
- →
**INTEGER(1)**|**INTEGER(Kind=1)**|**INTEGER*1**

- integer-1-type
- The integer-1-type is stored in 1 byte of memory, almost always (if not always) as a twos complement binary number.
- The language specification does not specify an encoding, but most current computers use 2's complement encoding for integer-1 integers:
7 6 5 4 3 2 1 0 S 2's Complement Magnitude - An 8 bit 2's complement number has a range of -2
^{7}to (2^{7}-1), or - 128 to 127.

- The INTEGER(1) type is signed.
- The INTEGER(1) type can hold positive, zero, and negative values.
- The INTEGER*1 form is deprecated by Fortran 90 and above.

! File Integer1.f95 ! Language Fortran 95 PROGRAM Integer1 Integer(1) I Integer J Integer(Kind=1) K Integer*1 L I = 1 J = I + 10 K = J - 100 L = J * K ! This will overflow & be truncated Print *, 'I = ', I Print *, 'J = ', J Print *, 'K = ', K Print *, 'L = ', L END PROGRAM Integer1