Article ID: 10118
HOWTO:  Display Control Characters on a Single Prompt using an Escape Sequence.
HOWTO
Applies To: ITScriptNet V1/V2

It is sometimes necessary to display controls as text on a prompt instead of having them act as control characters to format text which follows them.

For example, it you may want to display 'Small\Big' to your user as part of their instructions. Because \B is a control character used to Format text as Bold you would get the following result when the text is displayed:

'Smallig'

DETAILS

To display the control characters as plain text simply add and additional '\' before the control characters which you wish to display. This escape character forces \B to be shown as text instead of being interpreted as a formatting command.

EXAMPLES
Prompt Text Displays
\\B
\B
\\R \R
\\V \V
\\N \N
\\C0 \C0
\\C1 \C1
\\C2 \C2
\\C3 \C3
\\C4 \C4
\\C5 \C5
\\C6 \C6
\\C7 \C7
\\C8 \C8
\\C9 \C9
This article last updated: 1/1/2009 12:00:00 AM
Please help us improve the Knowledge Base by rating this article.
    © 1997-2026 Z-Space Technologies - a BCA Innovations Company - All rights reserved