Porovnávané verzie

Kľúč

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

...

  • declarations of local variables,
  • labels,
  • GOTO label: commands,
  • IF condition GOTO label: commands
    • the label must be always finished ended by the character ":" (as well as a label in GOTO commands),
  • commands based on conditional evaluation,
        IF
    condition1 THEN
            action1
        ELSIF condition2 THEN
            action2
        ELSIF condition3 THEN
            action3
            .....
        ELSE
            action
        ENDIF
  • command RETURN ends the calculation and assigns the value to result (constant or expression) after RETURN command,
  • command EXIT causes a move on part FINALLY.

...

If the value of a different type is assigned to the system variable, a runtime error occurs while the expression is executing. The runtime error stops the script evaluation (the other rows will not be evaluated) and always returns an Invalid value. To display this error, activate "debug runtime errors".

...

This example shows a sequence number of one-third of the running minute - three ways of value return.

...