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

Home » Public Forums » archive » Re: Use of STOP inside an IF statement
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: Use of STOP inside an IF statement [message #60882 is a reply to message #60881] Tue, 17 June 2008 10:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Benjamin.R.Evans@gmail.com writes:

> But the stop command will not work inside the IF statment but it will
> work
> outside the IF statment. I need it to be inside the IF statement so
> that the program
> stops if a message is printed out.

Are you sure you mean "STOP"? I would think you would
want a RETURN here. But, in any case, there is no reason
you can't have a STOP inside of an IF statement. It is
identical to a breakpoint.

But I think there is something else going on here that
is confusing you.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to print from an iTool? In color.
Next Topic: ASCII TEMPLATE (read the 31 column of ascii file only)

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

Current Time: Sun Oct 12 09:50:57 PDT 2025

Total time taken to generate the page: 0.88048 seconds