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

 

SINT, INT16

Purpose:

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

Syntax:

SINT

INT16

Expansion:

3

Example:

writeb("MYFILE",SINT)

 

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

Example:

writeb("MYFILE",INT16)

 

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

Remarks:

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

See Also:

DOUBLE

FLOAT

INT64

LONG

READB

SBYTE

UBYTE

UINT

UINT64

ULONG

WRITEB