Intel® Quartus® Prime Standard Edition User Guide: Scripting

Download
ID 683325
Date 9/24/2018
Public
Document Table of Contents

2.13.3.3. Backslash Substitution

Backslash substitution allows you to quote reserved characters in Tcl, such as dollar signs (“$”) and braces (“[ ]”). You can also specify other special ASCII characters like tabs and new lines with backslash substitutions. A backslash before a character tells the TCL interpreter to treat the next character as a literal if the character is not the last character on the line.
puts "This is a \$ special character"

puts "This is a\
$ special character and line continuation"

puts "This is backslash \is ignored"

puts "This is backslash\
	continued on next line"

Did you find the information on this page useful?

Characters remaining:

Feedback Message