scripting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
scripting [2020/07/10 08:29] – tondose | scripting [2020/07/10 09:33] – tondose | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scripting ====== | ====== Scripting ====== | ||
- | To meet user-specified tasks, mAirList is offering a powerful scripting engine which provides extended control functions. With it, users may write their own programmes and extend | + | {{: |
+ | |||
+ | To meet user-specified tasks, mAirList is offering a powerful scripting engine which provides extended control functions. With it, users may write their own programmes and expand | ||
The code resembles a subset of the // | The code resembles a subset of the // | ||
Line 7: | Line 9: | ||
**Note:** The full set of functions and procedures is featured only in the latest version of mAirList. Therefore, unaltered scripts originating from well-aged portions of the [[https:// | **Note:** The full set of functions and procedures is featured only in the latest version of mAirList. Therefore, unaltered scripts originating from well-aged portions of the [[https:// | ||
+ | ---- | ||
===== Script Types ===== | ===== Script Types ===== | ||
Line 25: | Line 28: | ||
An overview of the provided background script procedures is supplied with each version of mAirList within the file '' | An overview of the provided background script procedures is supplied with each version of mAirList within the file '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Creating Code ===== | ||
+ | |||
+ | The code can simply be typed into a text editor. Windows-supplied '' | ||
+ | |||
+ | The structure of a simple Delphi/ | ||
+ | |||
+ | <code delphi> | ||
+ | |||
+ | const | ||
+ | // Constant declarations | ||
+ | |||
+ | var | ||
+ | // Variable declarations | ||
+ | |||
+ | { Subprogramme definitions } | ||
+ | |||
+ | procedure DoSomething; | ||
+ | begin | ||
+ | // Executable statements | ||
+ | end; | ||
+ | |||
+ | (* Main programme *) | ||
+ | |||
+ | begin | ||
+ | // Executable statements | ||
+ | end. | ||
+ | |||
+ | </ | ||
+ | |||
+ | **Note** the different use of semicolon '';'' | ||
+ | |||
+ | **Comments** may be typed into '' | ||
+ | |||
+ | It is highly recommended to structure the code by indenting the statements with two whitespaces at a time. [[https:// | ||
+ | |||
- | ==== Creating Code ==== |