CreateModule
(Engine-Level Function)
| Description: | Creates a new module and returns a pointer to it. |
| Warning: | This function should be used only by advanced programmers. |
| Returns: | Pointer |
Usage: ![]() |
Script Only. |
| Function Groups: | Compilation and On-Line Modifications, Advanced Module |
| Related to: | AddModule | DeleteModule |
Format: ![]() |
CreateModule(FileName) |
| Parameters: |
| FileName |
| Required. Any text expression giving the name of the .SRC file that contains this module's definition. |
| Comments: |
This function creates a module that has no parent. Seldom (if ever) used when adding features to modern VTScada applications. |
Example:
If 1 Main;
[
MyMod = CreateModule("pump.SRC");
]
