Assigning Arrays

Reply

Join Date: Apr 2007
Posts: 10
Reputation: marlon ng is an unknown quantity at this point 
Solved Threads: 0
marlon ng marlon ng is offline Offline
Newbie Poster

Assigning Arrays

 
0
  #1
May 30th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 114
Reputation: davidcairns is an unknown quantity at this point 
Solved Threads: 8
davidcairns davidcairns is offline Offline
Junior Poster

Re: Assigning Arrays

 
0
  #2
May 30th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC