msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

transfaring dimamic array with function

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
Roy Goldhammer



Joined: 04 Oct 2007
Posts: 4

PostPosted: Wed Jul 12, 2006 6:23 pm    Post subject: transfaring dimamic array with function Reply with quote

Hello there

I have function that need to get reference to dinamic array and fill it
inside

how this thing is possible in VB6?

Archived from group: microsoft>public>vb>syntax
Back to top
View user's profile Send private message
Larry Serflaten



Joined: 04 Oct 2007
Posts: 2644

PostPosted: Wed Jul 12, 2006 11:30 am    Post subject: Re: transfaring dimamic array with function Reply with quote

"Roy Goldhammer" wrote

> I have function that need to get reference to dinamic array and fill it
> inside
>
> how this thing is possible in VB6?


What have you tried?

Sub GoHere(MyArray)

About as simple as it gets, no?

LFS

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
can you pass an array as optional to a sub or function? hello, I'd like to pass an optional array to my sub. This syntax works Public Sub As String, arrMyArray() As Integer) ... End Sub but as soon as I add Optional, the VB IDE highlights the code in red - obviously it doesn't like this: Public

Can't Assign Array to Variant in Array Hi, I want to assign an array to another array's element like: Dim ar1(2) Dim ar2$(2) ar1(0)=2 ar1(1)=ar2 ' *** But I get a Type Mismatch error for the last line of code. Can someone please enlighten me on how to perform

how to get the dimension of an array because of using dynamic array and for some specific reason, I can't know when my array is 1 dimension or when it is 2 dimension , so I have to know the function of getting the dimension of an array.

Help in Control Array Hi, is there are any way to know in code if a control is in array or not? thanks

dynamic array Is there a dynamic array in VB 6? Thanks.
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group