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

Illustrate Debug Function
Illustrate Values Class

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

Illustrate a Variant value and its type.
Illustrates the characters which are not printable within the Debug window using their keystrokes.
Version of IllustrateDebugString that handles any type of data.

Examples:
    ? IllustrateDebug("Line1" + vbCrLf + "Line2")
    "Line1^M^JLine2" (String * 12)
    ? IllustrateDebug(23%)
    23 (Integer)
    ? IllustrateDebug(23&)
    23 (Long)
    ? IllustrateDebug(EmptyValue)
    (Empty)
    ? IllustrateDebug(Null)
    Null (Null)
See also:
    IllustrateDebugString Function
    VarTypeToString Function
vValue: The value that will be illustrated (converted to a string) along with its data type.
Note: This function uses IllustrateDebugString to illustrate String values, and it uses VarTypeToString to get the value's data type.

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