From: Maurizio Cirilli Date: 2010-10-27T20:10:20+09:00 Subject: Re: Extraction of single subarrays from multidimensional array Sorry for my bad explanation, in my case I actually know how many columns are in md-array i.e how many sub-arrays are to be extracted because I read them as backtraslated aminocids from a gene database but this number can change from case to case. So to make my code of general use I have to take in consideration this "variable" otherways I have to change by hand this number every time I run the program. In the example I provided this number is 3 but this number of subarrays can vary. In this respect I wrote "unknown" dimension. Sorry again for misunderstanding. - Maurizio