HTBasic Help
×
Menu
Index

LONG

Declares, dimensions and reserves memory for Long integers.
 
 Syntax: LONG item [,item...]
 
Where:
item = numeric-name [(bounds) [BUFFER]]
bounds = [lower-bound :] upper-bound [,bounds]
bound = integer constant
 
Usage:
LONG I,J,K
LONG A,J,Cnt,Point,X(100)
LONG Aarray(-128:127,16)
LONG Buff(600) BUFFER
 
Description:
LONG is a data type. Other data types are I/O path, integer, real, complex, and string. LONG declares, dimensions and reserves memory for integers between -2,147,483,648 and 2,147,483,647. LONG variables can be declared and used in exactly the same ways that INTEGER variables are used. The only difference is the range of values allowed.
 
See Also: