Passing an Array in VB
Passing an Array in VB
(OP)
thread561-242107: Array problems in journal
I have checked the above thread and I know my problem is the same but have not been able to find a solution.
My array size is being set as the user selects a number a faces in the following command.
Then I wish to use the selected faces in the a subroutine calling it thus:
the Subroutine is titled as following:
but during compilation, I am getting the error of: "Number of indicies is less than the number of dimensions of the indexed array."
as well as "Array bounds cannot appear in type specifiers"
I wish the array to be dynamic, but I'm not sure how to pass the array afterwards.
Any help would be greatly appreciated.
I have checked the above thread and I know my problem is the same but have not been able to find a solution.
My array size is being set as the user selects a number a faces in the following command.
CODE -->
Dim loftFace() As Face = select_faces("Select surface mold is being checked against.") Then I wish to use the selected faces in the a subroutine calling it thus:
CODE -->
PlaceIntersection( loftFace(), dPStation, loftInterLine )
the Subroutine is titled as following:
CODE -->
Sub PlaceIntersection( ByRef checkFace(-1) As Face, ByRef dPStation As DatumPlane, _
ByRef InterLine As Features.IntersectionCurve ) but during compilation, I am getting the error of: "Number of indicies is less than the number of dimensions of the indexed array."
as well as "Array bounds cannot appear in type specifiers"
I wish the array to be dynamic, but I'm not sure how to pass the array afterwards.
Any help would be greatly appreciated.





RE: Passing an Array in VB
www.nxjournaling.com