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

 

UBYTE, UINT8

Purpose:

Macro. Provides an argument for functions specifying 8-bit (1-byte) unsigned byte data type.

Syntax:

UBYTE

UINT8

Expansion:

2

Example:

writeb("MYFILE",UBYTE)

 

writes the series in the current Window to a file named MYFILE as 8-bit unsigned byte point values ranging from 0 to +255. The above example is equivalent to writeb("MYFILE",2).

Example:

writeb("MYFILE",UINT8)

 

writes the series in the current Window to a file named MYFILE as 8-bit unsigned byte point values ranging from 0 to +255. The above example is equivalent to writeb("MYFILE",2).

Remarks:

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

See Also:

DOUBLE

FLOAT

LONG

READB

SBYTE

SINT

UINT

ULONG

WRITEB