GetInstance
(Engine-Level Function)
Description: |
Returns the object value of a module instance. |
Warning: |
This function should be used only by advanced programmers. |
Returns: |
Object |
Usage: |
Script Only. |
Function Groups: |
Compilation and On-Line Modifications, Basic Module |
Related to: |
FindVariable | CalledInstances | NumInstances | ListInstances |
Format: |
GetInstance(Module, Index) |
Parameters: |
|
Module |
Required. Any expression for the code value of the module. |
Index |
Required. Any numeric expression indicating which instance of Module to get. The most recently started instance is instance 0. |
Comments: |
If the number requested is larger than the total number of instances for the module, the return value will be invalid. |
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1983- 2024 All rights reserved.