LONG

Portability Function: Returns an INTEGER(2) value as an INTEGER(4) type.

Module: USE DFPORT

Syntax

result = LONG (int2)

int2
(Input) INTEGER(2). Value to be converted.

Results:

The result is of type INTEGER(4). The result is the value of int2 with type INTEGER(4). The upper 16 bits of the result are zeros and the lower 16 are equal to int2.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: INT, KIND, Portability Library