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

Home » Public Forums » archive » what 's mean?
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
what 's mean? [message #85014] Fri, 21 June 2013 19:35 Go to next message
huiqiang.liu.37 is currently offline  huiqiang.liu.37
Messages: 19
Registered: April 2013
Junior Member
if ind(0) ne -1 then begin
n = n-1
tt=t
continue
endif


waht is mean?
Re: what 's mean? [message #85025 is a reply to message #85014] Mon, 24 June 2013 09:43 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/21/13 8:35 PM, Huiqiang Liu wrote:
> if ind(0) ne -1 then begin
> n = n-1
> tt=t
> continue
> endif
>
>
> waht is mean?
>

You have to give more details to really figure this out, but I can give
you some guesses.

I'm guessing there is a FOR loop around this snippet, maybe looping over
t? And probably a WHERE statement right before this?

If so, this snippet is checking to see if the WHERE statement found any
matches (ind[0] ne -1). If it does, it decrements n, saves t in tt, and
skips to the next iteration of the FOR loop (the "continue").

In general, I would get a good intro book to IDL like David's or mine
and read up on the basic programming constructs like loops and
conditions, as well as the WHERE statement.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to manipulate data that are stored in memory directly?
Next Topic: PDF output from function graphics

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

Current Time: Wed Oct 08 17:05:59 PDT 2025

Total time taken to generate the page: 0.00508 seconds