Description This command initializes a T_CONFIGURATION data structure with the following member values:
Syntax InitConfigVariable tConfigVar
Parameters tConfigVar As T_CONFIGURATION Data structure being initialized.
Example The following script initializes a T_CONFIGURATION data structure and adds a new variable to the configuration list.
Sub Main
Dim newConfigVar As Long Dim tConfigVar As T_CONFIGURATION InitConfigVariable tConfigVar Print "Configuration variable initialized." Print Chr(9) & "Description:" & Chr(9) & tConfigVar.Description Print Chr(9) & "Entity: " & Chr(9) & tConfigVar.entity Print Chr(9) & "Index: " & Chr(9) & tConfigVar.index Print Chr(9) & "Subindex: " & Chr(9) & tConfigVar.subindex Print Chr(9) & "Type: " & Chr(9) & tConfigVar.Type newConfigVar = AddConfigVariable( tConfigVar )
End Sub
See Also
|