[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: End of Array - like - End Of File
- Subject: Re: End of Array - like - End Of File
- From: Vince Hradil <hradilv(at)yahoo.com>
- Date: Fri, 27 Jul 2001 20:19:37 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Abbott Labs Pharmaceutical Products Division
- References: <9js2vd$7sm$1@news.urz.uni-heidelberg.de>
- User-Agent: Opera/5.11 (Windows NT 4.0; U) [en]
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:25874
Ummm....???
for i=0, n_elements(text)-1 do ???????
On Fri, 27 Jul 2001 17:59:09 +0200, "Emmler, Oliver" <oemmler@ix.urz.uni-heidelberg.de> wrote:
> Hi all,
> i have a directory with different numbers of files. I read the filenames by
>
> text = FINDFILE('H:/radiologie/*.dcm')
>
> in my testdirectory there are 14 files so it's defined when to stop
>
> FOR i=0,14 DO file[*,*,i] = READ_DICOM(text[i])
>
> QUESTION:
> How can i get the size of the array TEXT to stop by FOR i=0,stop DO ...
> Is there something like EOA (EndOfArray) like EOF ?
>
> Thanks,
> Oliver Emmler
>
> --
> Oliver Emmler
> University of Heidelberg
> Departement of Radiology
> Phone: +49-6221-7963059 E-Mail: Oliver.Emmler@med.uni-heidelberg.de
>
>