Some initial facts
- Concatenation operator: &
- No semicolon required at the end of line
Most basic constructs
- Allocation: Dim aRoot as Root
- Assingment: Set aParam = CurrentTSTest
- TypeOf
If TypeOf p Is IParameterValue Then
TDOutput.Print("Value: " & p.Value) End If
- TypeName(o) - displays type of the object passed.
Loop statements
- For Each param In lst
With param
TDOutput.Print("Name: " & .Name & ", Value: " & .DefaultValue)
End With
Next
- Dim i%
For i = 1 To lst.Count
Set instance = lst.Item(i)
Debug.Print "Instance name: " & instance.name & " id: " & instance.ID
Next i
Useful links: