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

Home » Public Forums » archive » Re: .skip
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: .skip [message #23621 is a reply to message #23619] Sun, 28 January 2001 12:04 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mark Fardal (fardal@weka.astro.umass.edu) writes:

> The .SKIP command doesn't behave quite the way I would prefer.
> It doesn't behave as advertised either, although for a different reason.
>
> What it is supposed to do is to skip one statement, or N statements if
> you give it an argument N, and then execute 1 statement. I would
> prefer that it not execute that one statement. It seems silly--after
> all, you are usually just going to type .continue--and who's to say
> that you won't decide to skip the next statement too. Besides, it's
> not called .skip-and-execute-one. The usual argument about preserving
> backwards code compatability don't apply here, since .SKIP can't be
> invoked from a program.
>
> But anyway, what it actually does when you type IDL> .SKIP [N]
> is to skip N statements, and then execute N statements. Oops.
> This is with IDL 5.2.1L on Debian linux.
>
> Before I submit a bug report, I thought I would ask whether people
> would like the feature change suggested above as well as the bug fix.
> Or are people emotionally attached to the current behavior?

It looks like it behaves this way in IDL 5.4 on Windows, too.
The good news is I'm not emotionally attached to this behavior,
since I have never used it. :-)

Submit away!

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VAX IDL save format
Next Topic: Re: How to pick a window?

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

Current Time: Fri Oct 10 09:59:49 PDT 2025

Total time taken to generate the page: 0.63362 seconds