Script editor

The figure below shows the ESL script editor window. Each script is opened in its own tab.


1Toolbar.
2

The breakpoint is set when debugging a script .

3The source text of the script - individual actions that form the script.
4
The part of the script editor that contains the following displaying:
  • Compile - errors that occurred during the compilation (syntactic, semantic check),
  • Debug - debugging logs,
  • Notations - comments existing in the script,
  • Watch - values of local variables
  • Evaluate - expression evaluation
To resize this part and the area for editing the script text point the mouse cursor to the margin between the parts and when the mouse cursor changes its shape to , then press the left mouse button and drag the border (left mouse button has to be still pressed) to the desired position.
5Status bar
6Minimap for fast navigation in code

Notes:

When the script editor is closed all the tabs will be closed and the window will hide.

The rules of the tab closing:

ESL editor features:


Popup menu


The popup menu containing these items can be displayed over the script source text (part 4 on the picture). Click by right mouse button or push the Menu key on the keyboard.

Colors in ESL script


For better orientation in the ESL script, the editor uses a different coloring scheme for each type of the individual text tokens. Default coloring parameters can be modified using the ESL editor settings dialog.

ESL Editor within String detects the references to the dictionary. If some reference to a dictionary (key), which has not been defined yet, is identified, it will be colored as an Error (see the dialog above).

Example:

The key D2_ActAlarm exists in the dictionary, but D2_ActAlarmAAAAA does not exist.

Príklad zobrazenia RPC procedúry