Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dc_shell(1)

break(2)

while(2)

dc_shell_status(3)



Command Reference    2.  Synopsys Commands               continue



NAME
          continue       Begins the next loop iteration.


SYNTAX
          int continue


ARGUMENTS
          None


DESCRIPTION
          Begins the next iteration of the innermost loop. Use
          continue to immediately re-evaluate the condition of a
          while loop, for example, rather than execute the
          remaining statements to its end.

          The continue statement always returns the integer one,
          indicating successful operation.  A syntax error is
          reported if continue is used outside a loop structure.


EXAMPLES
          The following example plots the first ten sheets of the
          current design, except for sheet 5:


                         dc_shell> i = 0;
                         dc_shell> while ( i <= 9 ) {
                           i = i + 1
                           if (i == 5) {
                             continue
                           }
                           plot -sheet i
                         }



SEE ALSO
          dc_shell(1); break(2), while(2); system_variables:
          dc_shell_status(3).













V3.1      Synopsys Inc. 1988-1994. All rights reserved.       2-1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026