|
CScript: Compile Time Scripting |
|
|
MoreMotion Application Studio supports a scripting language that can be used in the properties of basic and library elements, that is executed during the project build; this language is called as CScript. The syntax and the some of the functions of the CScript is similar to MoreMotion AF's MScript language. CScript helps us to develop general purpose library elements. The content or the configuration of a page can be defined dynamically using the CScript functions. The CScript functions can be nested in the all properties of the elements. A property may nest one or more functions. See Examples. See CT Definitions ve CT Definitions (Before Close) properties
Processing order of the functions
Data Types A CScript expression can contain one or more of the following data types:
Nested Functions It is possible to use the CScript functions nested within each other. Example:
The functions that take part after the '%//' characters are ignored Examples:
|