String Constants

Top  Previous  Next

The only circumstances in which a string constant is required in the configuration language are when an identifier is required that does not obey the configurer’s syntax: operating system file names, for example. Such string constants in the configuration language are simply enclosed in double quotes. No notation is available for including double quotes within the string. The case of the characters in strings is preserved.

 

The trailing string quote may be omitted if the end of the line terminates the string.

 

string constant = ["""],

                  {? any character except newline and double quote ?},

                  ["""];

 

Some examples of valid string constants are as follows:

 

"string"

"c:\mytasks\x.tsk"

"fred.tsk