|
-
Returning Object Arrays
Hello,
I have (what I believe is) a simple syntax issue wrt returning user-defined object arrays:
Say I have a class clsGx that I am implementing as an array Gx(maxIndices):
And say, after population, I want to pass it to a function that returns another array of clsGx instances (Gx2(maxIndices))as follows
Set Gx2 = exch(Gx)
With exch being defined as follows:
Private Fuction exch(Gx() As clsGx) as clsGx
...
End Function
Currently, I am receiving a compile errors including can't assign to array. Any suggestions?
Similar Threads
-
Replies: 2
Last Post: 07-05-2002, 12:29 PM
-
By thomas in forum VB Classic
Replies: 0
Last Post: 05-08-2002, 08:22 AM
-
By Jaco de Villiers in forum XML
Replies: 1
Last Post: 06-01-2001, 05:50 PM
-
Replies: 0
Last Post: 07-07-2000, 05:39 AM
-
By Tom Shreve in forum Enterprise
Replies: 0
Last Post: 04-07-2000, 08:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks