| Character(s) | Name | Description |
|---|---|---|
| [] | Square brackets | Causes TACL to expand the enclosed text
|
| == | Double equal signs | Specifies a comment from the equal signs to the end of the line
|
| { } | Pairs of braces | Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions For example, |THEN| and |ELSE| are labels. For more information about enclosures and labels, see Function Calls. |
| | | | Pair of vertical lines | Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions For example, |THEN| and |ELSE| are labels. For more information about enclosures and labels, see Function Calls. |
| ~ | Tilde | Changes the interpretation of the next character (or in the case of double equal signs two characters)
|
The interpretation of special characters as metacharacters depends on the setting of the #INFORMAT Built-In Variable. The display of special characters depends on the setting of the #OUTFORMAT Built-In Variable.
The #INFORMAT built-in variable affects the interpretation of special characters read from the IN file, including terminal input and files read by the OBEY command. #INFORMAT can have one of three values:
TACL: Metacharacters have full effect.
PLAIN: Metacharacters are treated as ordinary characters.
QUOTED: If metacharacters are contained within quotation marks (? ?), they are treated as ordinary text.
?TACL MACRO files, ?TACL ROUTINE files, and library files read by LOAD or #LOAD are read in TACL format unless they contain ?FORMAT directives that specify PLAIN or QUOTED format. For more information about the ?FORMAT directive, see Statements and Programs.
TACL treats metacharacters as PLAIN when they are transmitted by #REQUESTER or #SERVER, so characters obtained from these functions do not retain their special properties. For example, square brackets in text obtained from a file opened by #REQUESTER do not cause enclosed text to be expanded. This also applies to FILETOVAR and VARTOFILE, which use the #REQUESTER built-in function.
------------------------------------------