XL Fortran for AIX 8.1

Language Reference

GO TO (Unconditional)

Purpose

The unconditional GO TO statement transfers program control to a specified executable statement.

Format



>>-GO TO--stmt_label-------------------------------------------><
 
 

stmt_label
is the statement label of an executable statement in the same scoping unit as the unconditional GO TO

Rules

The unconditional GO TO statement transfers control to the statement identified by stmt_label.

The unconditional GO TO statement cannot be the terminal statement of a DO or DO WHILE construct.

Examples

   REAL(8) :: X,Y
   GO TO 10
      
  ·
  ·
  ·
10 PRINT *, X,Y END

Related Information


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]