| 
		
			| UCESB multi-dimensional array  [message #19275] | Tue, 24 May 2016 17:39  |  
			| 
				
				
					|  MarcLabiche Messages: 7
 Registered: March 2016
 Location: UK
 | occasional visitor | From: *dl.ac.uk 
 |  |  
	| Hi, 
 When I try to define an array of dimension higher than 2 in the file STaRTrack.spec that I'm trying to produce for the Si tracker, for example:
 
 MEMBER(DATA12 adc[18][2][16][128] ZERO_SUPPRESS);
 
 the compilation crashes with the message:
 STaRTrack.spec:16: syntax error, unexpected '[', expecting ')'
 
 It seems that only arrays of 1 and 2 dimensions can be defined.
 
 Would it be possible to extend to 4-D array or could you please suggest an alternative ?
 
 Cheers,
 Marc
 
 Marc Labiche
 STFC Daresbury Lab.
 +44 (0)1925603458
 |  
	|  |  | 
	|  | 
	| 
		
			| Re:  UCESB multi-dimensional array  [message #19287 is a reply to message #19285] | Wed, 25 May 2016 12:08  |  
			| 
				
				
					|  MarcLabiche Messages: 7
 Registered: March 2016
 Location: UK
 | occasional visitor | From: *dl.ac.uk 
 |  |  
	| Hi Hans, ok, thanks.
 The mapping will be a bit "less clearer" but I'll try the proposed alternative.
 Cheers,
 Marc
 
 
 
 
 
 
 Marc Labiche
 STFC Daresbury Lab.
 +44 (0)1925603458
 |  
	|  |  |