LONG (QuickBasic)

From Just Solve the File Format Problem
Revision as of 18:07, 31 July 2023 by Jsummers (Talk | contribs)

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

The LONG type in QuickBASIC stores non-floating-point numbers from -2147483648 to 2147483647. LONG types can be defined with the & suffix.

Syntax

Using the DIM statement:

DIM i AS LONG
i = 38
PRINT i

Using the suffix:

i& = 38
PRINT i&

References

  • LONG data-type on qb64.com
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox