944,164 Members | Top Members by Rank

Ad:
May 30th, 2007
0

Assigning Arrays

Expand Post »
Hi. Im a beginner and I've recently studied ASSIGNING ARRAYS and have drawn the following conclusions. Please tell me if they're correct or not. If their wrong, pls explain to me why they're wrong and pls give me a sample code. Thanks a lot guys!!!

Assign fixed array to dynamic array = CAN BE DONE
Assign dynamic array to dynamic array = CAN BE DONE

Assign fixed array to fixed array = CANNOT BE DONE
Assign dynamic array to fixed array = CANNOT BE DONE
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
marlon ng is offline Offline
10 posts
since Apr 2007
May 30th, 2007
0

Re: Assigning Arrays

You are absolutely correct, fixed arrays cannot be assigned as a whole but dynamic arrays can. If you wish to assign a fixed array you have to do it one element at a time.
Reputation Points: 12
Solved Threads: 8
Junior Poster
davidcairns is offline Offline
114 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Adding data to a newly created field
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: File association in vb6





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC