[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: array subscripts
- Subject: Re: array subscripts
- From: Kevin Ivory <Kevin.Ivory(at)linmpi.mpg.de>
- Date: Fri, 18 Sep 1998 13:50:41 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Max-Planck-Institut fuer Aeronomie
- References: <360125C3.41C6@io.harvard.edu> <MPG.106af5c9cab02bd59896b9@news.frii.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:12197
> Martin Schultz (mgs@io.harvard.edu) writes:
> > PPS: And while we are at it... One of the most useful tips I got from
> > David's book (so far) was the A[n:*] syntax to extract ranges from n to
> > end. I am really grateful for this!
David Fanning wrote:
> I've been using this for so long I can't really remember
> where I learned it, but I suspect it was from Ray Sterner's
> unpublished (so far) IDL manuscript. He has dozens of
> useful subscripting tips like this. :-)
Perhaps you read the IDL manual? The book 'Building IDL Applications'
has a chapter about 'Array Subscripts' with a section about 'Subscript
Ranges'. ;-)
By the way, the book is online:
ftp://ftp.rsinc.com/pub/idl_5.1.1/info/docs/building.pdf
See page 62.
Cheers,
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/