LONG (QuickBasic)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo | name = LONG | formattype = electronic | subcat = Data types | subcat2 = QuickBASIC | caption = }} {{DISPLAYTITLE:LONG}} Th...")

Revision as of 12:15, 31 July 2023

File Format
Name LONG
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