Share this page

# lrc_variant_BYTE

Example: lrc_variant_BYTE | Assignment 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 );

str | A 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.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: