| Array question 
 
	 
	
		| Author | Message |   
		| Naveg 
 
 
 
 
 | 
			
				|  Posted: Tue Feb 15, 2005 8:40 pm    Post subject: Array question |  |   
				| 
 |  
				| Is it possible for the upper array to be a variable? 
 And also, can you initialize only the first few of an array with the init command?
 
 For example
 
 
 	  | code: |  	  | var itemList:array 1..(5+extras) of string:=init("Bread","Juice","Cookies","Milk","Cheese") | 
 |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| Sponsor Sponsor
 
  
   |  |   
		|  |   
		| Andy 
 
 
 
 
 | 
			
				|  Posted: Tue Feb 15, 2005 8:44 pm    Post subject: (No subject) |  |   
				| 
 |  
				| for your first question, your thinking of flexible arrays, and for your second queestion, there isnt.. you'd have to do list(1)=blah blah list(2)= blah blah and so on.. read my arrays tutorial in the tutorials section, it'l be a great help to you |  
				|  |  |   
		|  |  |  
	  
		|  |   
		|  |  
 |