Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • Each action (an executive item of the language) is written separately in one line. Then any written algorithm is a sequence of actions (lines), which are executed in successive steps. The sequence of actions execution may be changed by actions such as: as GOTO, ON GOTO, GOSUB, CALL, IF GOTO, IF THEN ELSE,...
  • A comment always begins with the character ';' and continues to the end of the line (multi-line comments are not allowed).

...

  1. explicitly with BEGIN action
  2. with any action, except the declaration of a local variable, or the procedure body.

The following example sets the value of 1 of the object U.Int, within the initialization part (rule 2).

...

In ESL language, an assignment is known as an action. In the source text, there is an assignment followed by a comment. According to the rule (for the beginning of the script initialization part), assignment action is executed in the initialization part. The following example is semantically (with its meaning) identical with to the example above:

BEGIN
U.Int := 1
END

...

In the following example, the setting of the value setting is moved from the initialization part to the procedure, that is called:

...