Re: Perform loop enhancements

From: Peter Lacey (lacey_at_mb.sympatico.ca)
Date: 10/29/04

  • Next message: Richard: "Re: Report enhancements"
    Date: Thu, 28 Oct 2004 21:47:02 -0500
    
    

    Richard wrote:
    >
    > Peter Lacey <lacey@mb.sympatico.ca> wrote
    >
    > > Seems to me you're adhering to a principle at the expense of
    > > simplicity. If you have two different types of your exit
    > > paragraph/perform, and both of them are exactly equivalent to a GOTO -
    > > why not use a GOTO? Then there'd be no question as to which type of
    > > exit you're doing, nor would there be any doubt as to where control
    > > resumes.
    >
    > This seems to be the trigger for where I do my usual discourse on "it
    > isn't the GOTO that is harmful, it is the label that it requires that
    > is the probelem", but I won't.

    Good, I suppose. Why bother composing this? Ranting about the label
    wouldn't address the subject.

    PL


  • Next message: Richard: "Re: Report enhancements"

    Relevant Pages

    • Re: On Local Error Goto Somewhere
      ... an EXIT DO or EXIT FOR. ... going if there is no label to show you the destination. ... IMO the GoTo statement has never been "THE" problem. ... ON ERROR GOTO MySubErr Dim lFNbr as long ...
      (microsoft.public.vb.general.discussion)
    • Re: Stop execution of script
      ... The label must be in the same batch as the GOTO, ... > I tried that too but because of separate batch executions ... > A GOTO statement references the label 'EXIT' but the label has not been ...
      (microsoft.public.sqlserver.programming)
    • Re: Stop execution of script
      ... A GOTO statement references the label 'EXIT' but the label has not been ... >> set nocount off ...
      (microsoft.public.sqlserver.programming)
    • Re: Perform loop enhancements
      ... Peter Lacey wrote ... > simplicity. ... If you have two different types of your exit ... > why not use a GOTO? ...
      (comp.lang.cobol)
    • Re: Perform loop enhancements
      ... > simplicity. ... If you have two different types of your exit ... Nothing wrong with GOTO. ... It's labels and drop-thru code that causes troubles. ...
      (comp.lang.cobol)