lrc_variant_BYTE

Example: lrc_variant_BYTEAssignment to Variants

Assigns a string to an unsigned char (byte) value stored in a variant.

VARIANT lrc_variant_BYTE( const char* str );
VARIANT lrc_variant_BYTE_by_variant( const char* str );
strA character string representing a byte (0 ?" 255).

The lrc_variant_BYTE function converts a string to an unsigned char (byte)value stored in a variant.

The lrc_variant_BYTE_by_variant function converts a string to an unsigned char (byte) value and returns a variant containing a reference to the variant containing the byte.

The additional function lrc_variant_BYTE_by_variant is used when a variant to a variant of the BYTE is required.

Return Values

lrc Return Values

Parameterization

Parameterization is not applicable to this function.