Re: EXIT PERFORM Help, please

From: Richard (riplin_at_Azonic.co.nz)
Date: 11/17/04


Date: 17 Nov 2004 10:53:57 -0800


"Pete Dashwood" <dashwood@enternet.co.nz> wrote

> Does EXIT PERFORM finish ALL cycles of the PERFORM, or does it just finish
> the current cycle?

In Fujitsu there are:

       EXIT PERFORM
       EXIT PERFORM CYCLE

Does this answer your question ?

> If it finishes ALL cycles and transfers to the statement FOLLOWING the
> END-PERFORM (rather than to the END-PERFORM itself), then there is no need
> for me to run a finish flag whose only real purpose is to tell the PERFORM
> when to stop.

There is no need to use a 'finish flag' if you use EXIT PERFORM. To
support this you can use PERFORM WITH NO LIMIT, though this is not '02
compliant.



Relevant Pages

  • Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
    ... Cycle for 100 times, and LockRect/UnLockRect ... As SDK says I need to use D3DLOCK_DISCARD flag in LockRect. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: EXIT PERFORM Help, please
    ... Thank you Richard for a succinct and easily assimilable response. ... I wasn't aware of EXIT PERFORM CYCLE but your response clearly addresses my ... > There is no need to use a 'finish flag' if you use EXIT PERFORM. ...
    (comp.lang.cobol)