Two questions:
1) How do I create arrays of long integers?
This statement creates an array of short (two byte) integers. But what is the comparable statement for an array of long (four byte) integers?
2) How do I create a function that returns a long integer?
This code returns a short integer. But what is the comparable code for a function that returns a long integer?
1) How do I create arrays of long integers?
Code:
DIM A(100) AS INTEGER
This statement creates an array of short (two byte) integers. But what is the comparable statement for an array of long (four byte) integers?
2) How do I create a function that returns a long integer?
Code:
DECLARE FUNCTION name% ()
PRINT name%
FUNCTION name%
result% = 10 ' an integer under 32767
name% = result%
END FUNCTION
This code returns a short integer. But what is the comparable code for a function that returns a long integer?