7. Typography and indentations#

For the readability of command documents, everything related to syntax is printed in 10-point font. We differentiate between the different types of functional elements (product concept, keyword, keyword, factor, argument) by the use of upper and lower case letters.

In uppercase letters:

  • names of operators and procedures

  • names of keywords and key factors,

  • imposed text arguments (these are between “quotes” as in command syntax).

In lower case:

  • names of product concepts,

  • symbolic names of the arguments,

  • types of concepts produced and arguments.

In mixed lowercase - uppercase when the product concept admits a subtype. This appears in capital letters as well as the type FORTRAN of the size of the subtype.

The readability of the syntax is reinforced by the use of indentations. They are used to identify operand blocks and to identify a group of operands under a keyword factor. They are also used to place the brackets of the same block under the same plumb.

Example:

my [mass_mass_*] = ASSE_MATRICE

(♦ MATR_ELEM = lmel,/[l_matr_elem_ DEPL_R] /[l_matr_elem_ DEPL_C] /[l_matr_elem_ TEMP_R] /[l_matr_elem_ PRES_C]

♦ NUME_DDL = naked, [nume_ddl]

◊ CHAR_CINE = lcha,/[l_char_cine_meca] /[l_char_cine_ther] /[l_char_cine_acou]

◊ INFO =/1, [DEFAUT] /2,

);

if matr_elem [matr_elem_ DEPL_R] then [*] DEPL_R

[matr_elem_ DEPL_C] DEPL_C [matr_elem_ TEMP_R] TEMP_R [matr_elem_ PRES_C] PRES_C