LONG

Portability Function: Converts an INTEGER(2) argument to INTEGER(4) type.

Module: USE IFPORT

Syntax

result = LONG (int2)

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

Results

The result type is 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, Building Applications: Portability Library Overview