Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the list of Members of an object, the comments for METHOD, PROPERTY, PARAMETERS, and DESCRIPTION are written by the automation interface engineers. These comments include instructions or valid parameter lists. Where PARAMETERS are listed, they are usually more tightly-scoped than the universal BASIC type "Variant." Use the specific datatype as listed in PARAMETERS in your code. In the example above, you might write in your code:

Dim MyDiagram As Diagram

Dim MyFilePath As String

'**************

'NOT as Variant

'**************

MyFilePath = "C:\Model\ElleModel.dm1"

Set MyDiagram = DiagramManager.OpenFile(MyFilePath )

DEFINITION: Function OpenFile(FullFilePath) As Diagram

...