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

Home » Public Forums » archive » Re: Stupid Question#1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Stupid Question#1 [message #13309 is a reply to message #13308] Mon, 02 November 1998 00:00 Go to previous messageGo to previous message
Kevin Ivory is currently offline  Kevin Ivory
Messages: 71
Registered: January 1997
Member
rob cosgrave wrote:
> am having a spot of bother with smething that should be really
> simple. I cannot get FOR ....DO BEGIN ENDFOR loops to work. I thought
> first it was something to do with my program, so I tried a really simple
> one, and that didn't work. Then I cut and paste the example out of the
> online documentation and that didn't work. And then I tried running one
> of the scripts which came with IDL and that didn't work either. They
> all failed at the endfor, and didn't close the loop.

Block statements (statements with BEGIN and END) only work in procedures
and functions, not in interactive mode.

If you need to learn how to program procedures/functions, you probably should
start off with the online books 'Using IDL' and 'Building IDL Applications'.
You will find them by pressing the 'Contents' button of the IDL online help.

Best regards,
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/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: clipboard objects and postscript (unix)
Next Topic: IDL and LAPACK

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

Current Time: Sat Oct 11 15:24:29 PDT 2025

Total time taken to generate the page: 1.75560 seconds