comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Using self reference in WHERE statement?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Using self reference in WHERE statement? [message #82048] Sat, 10 November 2012 19:04
Balthasar Indermuehle is currently offline  Balthasar Indermuehle
Messages: 22
Registered: August 2012
Junior Member
Hi all,

I have a vector of data with a timestamp. From that vector, I would like to select each element whose timestamp is more than 5 minutes past the previous element's timestamp.

This is easy to do in a FOR NEXT loop, but not very IDL'ish. Is there a way to for instance use a WHERE statement which self references a preceding or a succeeding element as a criterion?

Can anyone think of an IDL'ish way to do this?

Cheers

- Balt
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: color table
Next Topic: Color table

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:24:25 PDT 2025

Total time taken to generate the page: 0.32030 seconds