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

Home » Public Forums » archive » Re: block if
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
Re: block if [message #14630] Thu, 18 March 1999 00:00
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
In article <36EEE503.9B8202AD@essex.ac.uk>,
Philip Mason <pmason@essex.ac.uk> wrote:
> Does anyone know if there is something inherently wrong with unix
> PV-wave
> version (6.01) with respect to 'block if constructs'. Each time I type
> in:
>
> IF I=0,N DO BEGIN
> ..........
> ENDFOR
>
> (as prescribed by the manual) it gives a 'syntax error' with regards the
>
> 'endfor' statement. Is it just a bug or am I just stupid ?#.
>

Hi Philip,

Is the above exactly what you have written? If so, there is a mixup
in the type of block. The IF should be a FOR, for a loop. If you are
writing an IF block, then the Do should be a THEN and the ENDFOR should be an
ENDIF, and there should be some conditional statement, not I=0,N. I use IDL
but am pretty sure that the formats of the blocks are the same.

Rose

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: working with very large data sets
Next Topic: Widget color tables

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

Current Time: Fri Oct 10 14:28:36 PDT 2025

Total time taken to generate the page: 0.64181 seconds