Script and algorithm creation

The user defined algorithms are written in the form of scripts in the PROMOTIC system. The scripts are written as texts, consisting of individual statements. In general it can be said, that one script row represents one statement.
It is possible to use two languages for writing scripts in the PROMOTIC system: VBScript or JavaScript. The JavaScript language usage is limited to panels (in the PmPanel object). For this purpose the Scripting language settings configurator must be set to "javascript".

The basics of the VBScript and JavaScript language, including the description of its functions and statements, are comprised in this documentation.

In the PROMOTIC system, it is not necessary to know all features of the corresponding language in order to create very complex structures. This is based on the fact that the framework of the application is built by the PROMOTIC system and the designer only fills in the content of existing events. Therefore the designer only needs to know the syntax statements in the corresponding language.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice