Signature (Visual Basic / VBA)
Public Function MakeLongFast( _
ByVal vValue As Long _
) As Variant
Code Example
MakeLongFast(0) = Chr$(0) + Chr$(0) + Chr$(0) + Chr$(0)
MakeLongFast(2) = Chr$(2) + Chr$(0) + Chr$(0) + Chr$(0)
MakeLongFast(123456789) = Chr$(21) + Chr$(205) + Chr$(91) + Chr$(7)
MakeLongFast(-1) = Chr$(255) + Chr$(255) + Chr$(255) + Chr$(255)
Parameters
| Parameter | Description |
|---|---|
| vValue | The Long (integer) value whose bytes are to be interpreted as a string. |
Notes & Version History
| Note | This function converts the string representation of the value to Unicode using the default code page of the system. |
| v1.3 Change | Removed 16-bit support from this function. |