INTEGER (QuickBasic)

From Just Solve the File Format Problem
Revision as of 12:05, 31 July 2023 by Foxtrot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name INTEGER
Ontology


The INTEGER type in QuickBASIC stores non-floating-point numbers from -32,768 to 32,767. INTEGER types can be defined with the % suffix.

Syntax

Using the DIM statement:

DIM i AS INTEGER
i = 38
PRINT i

Using the suffix:

File Format
Name INTEGER
Ontology


The INTEGER type in QuickBASIC stores non-floating-point numbers from -32,768 to 32,767. INTEGER types can be defined with the % suffix.

Syntax

Using the DIM statement:

DIM i AS INTEGER
i = 38
PRINT i

Using the suffix:

i% = 38
PRINT i%
i% = 38
PRINT i%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox