translation 

translation


ESCAPE

Sets or displays the escape character.

The escape character prevents the character that follows it from being translated, even if there is an entry for it in the translation table.

The escape character prefixed to curly brackets also inhibits evaluation of a formula enclosed in a pair curly brackets.

Format:

ESCAPE character

Example:

esc ^

(Replaces the current escape character by a caret.)

Additional information on:

 

TRANSLATE

Using the TRANSLATE command, you can modify the input translation table. Changes are in effect from the moment the command has been issued onwards until further notice. The input translation commands are themselves subject to the current translation table.

Input translation is carried out immediately after reading the line, before case conversion and also before substitution of expressions enclosed by curly brackets.

Characters preceded by the escape character (by default set to backslash: \\, see also ESCAPE) are not translated.

If arguments are omitted altogether, the current translation table is displayed.

Format:

TRANSLATE [CYCLES ncycle] ...
     [INTEGER | HEXADECIMAL] char_in [INTEGER | HEXADECIMAL] char_out

Example:

TRANSLATE "." "&", X Y

From this point onwards, you can type .CELL in addition to &CELL to enter the cell section. In addition, all characters X found in the input are changed into Y. The number of translation cycles is not changed.

Additional information on:


GET-TRANSLATION-TABLE

Retrieves the translation table from a dataset to which it has been written by means of a WRITE-TRANSLATION-TABLE command. The member name is optional if only one translation table has been stored in the dataset.

Format:

GET-TRANSLATION-TABLE file [member]

Example:

GET-TRANS garflib.dat vax

Reads a member called VAX from the library GARFLIB.DAT.

Additional information on:


WRITE-TRANSLATION-TABLE

Writes the current translation tables to a dataset for later retrieval by GET-TRANSLATION-TABLE. The keywords DATASET and REMARK are optional if the member name is not omitted if a remark is present.

Format:

WRITE-TRANSLATION-TABLE DATASET file [member] [REMARK remark]

Example:

WR-TRANS trans.dat vax

Additional information on:

 

Go to the top level, to translation, to the topic index, to the table of contents, or to the full text.

Formatted on 21/01/18 at 16:55.