Scripting with MScript |
![]() ![]() ![]() |
MoreMotion provides a scripting language called "MScript". MScript is a simple yet powerful language that aims to leverage the responsibilities of MoreMotion units by means of scripting their parameters. MScript can be embedded in the parameters of MoreMotion units (Data Sources, Processes, etc.). For instance it can be used inside a database query as follows:
Unlike other scripting languages, MScript does not target to cover all types of works with one single language. The main goal of MScript is to flexibly and dynamically specify the parameters of the runtime functional unit that it resides in. Loops MScript does not have functions such as for and while. since looping in not the objective of MScript.
Processing Order of the Functions
Data Types An MScript expression can contain one or more of the following data types:
Nested Functions It is possible to use the MScript functions nested within each other. Example:
The functions that take part after the '@//' characters are ignored Examples:
|