Free 14-Day Evaluations    
Product Downloads    

Sign in     


DESKTOP MOBILE DOWNLOAD PURCHASE SUPPORT INFO COMPANY
 Home  >>  Support  >>  Knowledge Base

Special String Characters in Script

When building strings in TERM Script Language or TinyTERM’s CScript, you may need to enter non-printable characters. Also, the \ and @ characters are reserved for special functions normally, but you may need them as literals instead. In fact, the backslash character \ allows you to enter the non-standard characters like so:

^ control character; e.g., ^X for Ctrl-X
\b backspace (hex 08)
\e escape (hex 1b)
\f form feed (hex 0c)
\n line feed (hex 0a)
\r carriage return (hex 0d)
\t horizontal tab (hex 09)
\v vertical tab (hex 0b)
\@ at sign (hex 40)
\^ carat (hex 5e)
\ backslash (hex 5c)
double quote (hex 22)
single quote (hex 27)
\x hexadecimal number follows; e.g., \x1b for escape
\0 thru \7 octal constant follows; e.g., \024 for Ctrl-T

All the above may be used together to specify complex strings. In addition, you can use the / character to separate directories in any version of TERM or TinyTERM; e.g.,

setvar sample_path “C:/Temp”

CR 710

Comments are closed.

  Copyright © 2024 Century Software, Inc. All Rights Reserved999 TERMS OF USE PRIVACY POLICY EULA