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

Illustrate Debug String Function
Illustrate Values Class

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

Illustrates the characters which are not printable within the Debug window using their keystrokes.
Control characters prefixed with "^" (caret stands for the Ctrl key).
Other non-printable characters converted to "%" followed by decimal code (percent stands for the Alt key).
"\", "^", and "%" are prefixed with a backslash.

Examples:
    IllustrateDebugString(Chr$(1) + Chr$(2)) = "^A^B"
    IllustrateDebugString(Chr$(254) + Chr$(255)) = "%254%255"
    IllustrateDebugString("Line1" + vbCrLf) = "Line1^M^J"
    IllustrateDebugString("\^%") = "\\\^\%"
See also:
    IllustrateKeys Function
    IllustrateDebug Function
vValue: The string of characters to be illustrated. Function returns Null if vValue is Null or cannot be fixed up to a String.

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