<-- Previous || Up || Next -->

Make Byte Function
Coerce Make Class

Public Function MakeByte( _
    ByVal vValue As Variant _
    ) As Variant

"Make String From Byte" or "Coerce Byte To String"
Coerce a Byte value into a 1-character string.
Return the one-character string whose in-memory representation is same as the Byte value vValue.
Inverse of the CoerceToByte function.

    MakeByte(0) = Chr$(0)
    MakeByte(1) = Chr$(1)
    MakeByte(255) = Chr$(255)
    MakeByte("34") = Chr$(34)
    IsNull(MakeByte(Null)) = True
See also:
    MakeByteFast Function
    CoerceToByte Function
vValue: The Byte value which will be returned as a one-character string. vValue can be a numeric value, a date value, a numeric string, or a date string. Function returns Null if vValue is Null. Function returns an empty string if vValue cannot be fixed up to a number.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.