STAAD.Pro Help

OS. Type Mismatch

Error message:

Type mismatch

Check to make sure that you have declared all variables using the DIM statement at the beginning of your program or macro, e.g.:

Dim pnIsReleased As Integer
Dim pdSpringStiffnesses(0 To 5) As Double
Dim pdPartialMomRelFactors(0 To 2) As Double

Confirm that when you pass array variables to the function, you have specified the starting position in the array for the function to use in filling up the array. For example:

objOpenSTAAD.GetFullMemberReleaseInfoAtStar 3, pnIsReleased, _
pdSpringStiffnesses(0), pdPartialMomRelFactors(0)