TCL - Special Characters

Card Puncher Data Processing

About

Special characters:

  • dollar sign ($),
  • backslash (\),
  • bracket ([ ),
  • number sign (#),
  • semicolon (;),
  • and exclamation point (!)

Note that Tcl uses curly braces ({) and (}) as preferred method for escaping special characters and writing valid, complex arguments.

Special Characters

Dollar sign ($)

The dollar sign identifies Tcl variables in Tcl.

Therefore, if you include $ in the name of a Warehouse Builder object, OMB*Plus uses the Tcl convention and displays the $ inside curly brackets such that name$ displays as name{$}. This prevents the name from being misinterpreted as a variable.

Backslash (\)

Tcl uses the backward slash to indicate the end of a line in a command that spans multiple lines. Therefore, in a multiple line OMB*Plus command, use only a backslash (\) at the end of each line. This interpretation of the backslash has implications on how you specify full paths in OMB*Plus, as described in “Specifying Paths”.

Tcl also uses the backslash as the least preferred method for escaping special characters.

Use curly braces as the preferred method as described in “Escaping Special Characters and Writing Complex Arguments”.

Semicolon(;)

The semicolon separates two commands in Tcl. Using a semicolon in a quoted string results in an error. As a work around, escape the semicolon character by putting a backward slash (\) in front of the semicolon.

Number sign (#)

The number sign (#) is to indicate that a comment will follow.

Exclamation point (!)

Do not use an exclamation point (!) because it is the the logical NOT and then an illegal character.

Documentation / Reference





Discover More
Card Puncher Data Processing
OWB - OMB (Oracle Meta Base) Language

OMB is : the scripting language from . a set of java function embedded in the scripting langage tcl (with the help of tcljava). Thus, you must...
Card Puncher Data Processing
TCL - Backslash (backward slash)

Tcl uses the backward slash: to indicate the end of a line in a command that spans multiple lines. as the least preferred method for escaping special characters. Use curly braces as the preferred...
Card Puncher Data Processing
TCL - Curly Braces ({) and (})

Tcl uses curly braces ({) and (}) as preferred method for escaping special characters and writing valid, complex arguments. For the following situations, you can enclose the element in braces and leave...
Card Puncher Data Processing
Tool Command Language (TCL)

Tcl (from “Tool Command Language”) is a scripting language created by John Ousterhout. intended to be embedded into applications ( Oracle Warehouse Builder use it as scripting language : Mixed with...



Share this page:
Follow us:
Task Runner