Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Fortran Compiler for HP-UX: HP Fortran Programmer's Reference > Chapter 10 HP Fortran statements

GO TO (unconditional)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Transfers control to a specified label.

Syntax

GO TO label
label

is the label of an executable statement.

Description

The unconditional GO TO statement transfers control directly to the statement at the specified label. The executable statement with label can occur before or after the GO TO statement, but it must be within the same scoping unit.

Examples

   GO TO 30
30 CONTINUE

Related statements

GO TO (assigned) and GO TO (computed)

Related concepts

For information about flow control statements, see “Flow control statements”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.