qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Elementary Data Types - Integers and Long Integers
  Data Types   Integers and Long Integers   Contents   Index
──────────────────────────────────────────────────────────────────────────────
Elementary Data Types - Integers and Long Integers
 
Integers are stored as 16-bit binary numbers (two bytes) ranging in value
from -32,768 to +32,767.
 
"Long" integers are stored as signed 32-bit binary numbers (four bytes)
ranging in value from -2,147,483,648 to +2,147,483,647.
 
All BASIC integers are represented as two's complement values, the most
common way of representing integers on a computer. Integers use 16 bits (2
bytes) and long integers use 32 bits (4 bytes).