Passing multidimensional arrays to subroutines 
Author Message
 Passing multidimensional arrays to subroutines

How do you pass a 2 dimensional array to a subroutine. I tried the
following in VB 6.0 but it gives a syntax error:

Sub Test(A(,) as Double)
End Sub

Thanks,
Ted Campbell



Mon, 06 May 2002 03:00:00 GMT  
 Passing multidimensional arrays to subroutines

Quote:
>Subject: Passing multidimensional arrays to subroutines

>Date: Thu, 18 November 1999 01:22 PM

>How do you pass a 2 dimensional array to a subroutine. I tried the
>following in VB 6.0 but it gives a syntax error:

>Sub Test(A(,) as Double)
>End Sub

>Thanks,
>Ted Campbell

Omit the comma.

HTH,
Merjet



Tue, 07 May 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Multidimensional, multidimensional arrays

2. PB/DLL passing multidimensional VB arrays by pointers

3. Passing MultiDimensional Array from ASP to VBScript

4. passing arrays to subroutines in Excel Visual Basic

5. Passing an array to a subroutine

6. Passing Arrays to Subroutines

7. passing array to subroutine

8. error while passing array of user-def type to subroutine

9. Passing arrays to a subroutine

10. newbie - passing arrays to subroutines

11. Passing Control Arrays to subroutines - how?

12. HELP: Passing arrays into subroutines

 

 
Powered by phpBB® Forum Software