shortint
Shortint is a signed 8-bit integer type used in the Pascal family of languages, including Turbo Pascal, Borland Pascal, Delphi, and Free Pascal. It occupies one byte of memory and represents integers in the range -128 to 127. This contrasts with Byte, which is unsigned (0 to 255), and with larger integer types such as SmallInt (−32768 to 32767) and Integer, whose sizes depend on the platform or language version.
In practice, shortint is chosen when memory efficiency matters or when interfacing with binary data, hardware,
Most Pascal implementations expose the type with variations in naming conventions, such as ShortInt or shortint,
Example usage: var s: ShortInt; s := -42;. Shortint is part of the standard type set in many