DADiSP Worksheet Functions > Function Categories > Data Type Conversion > LONG

 

LONG, INT32

Purpose:

Macro. Provides an argument for functions specifying 32-bit (4-byte) signed integer data type.

Syntax:

LONG

INT32

Expansion:

5

Example:

writeb("MYFILE", long)

 

writes the series in the current Window to a file named MYFILE as 32-bit signed integer point values ranging from -2147483648 to +2147483647. The above example is equivalent to writeb("MYFILE", 5).

Example:

writeb("MYFILE", int32)

 

writes the series in the current Window to a file named MYFILE as 32-bit signed integer point values ranging from -2147483648 to +2147483647. The above example is equivalent to writeb("MYFILE", 5).

Remarks:

LONG and INT32 are not a stand-alone Worksheet function. They can only act as an argument for functions, such as READB and WRITEB, and other functions with data type arguments.

See Also:

DOUBLE

FLOAT

READB

WRITEB

SBYTE

SINT

UBYTE

UINT

ULONG