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 #23607 is a reply to message #23587] Mon, 29 January 2001 08:34 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I have not been using it for the simple reason: I never found it. Now I
will, and I would like the bug fixed, too.

Thanks,
Pavel

Mark Fardal wrote:
>
> Hi,
>
> 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?
>
> thanks,
> Mark
>
> PS: here's a simple example to demonstrate the behavior:
>
> pro junk
> print, 'line 2'
> print, 'line 3'
> print, 'line 4'
> print, 'line 5'
> print, 'line 6'
> print, 'line 7'
> print, 'line 8'
> print, 'line 9'
> print, 'line 10'
> end
[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 14:19:07 PDT 2025

Total time taken to generate the page: 1.35960 seconds