GO TO (Unconditional) - Fortran

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

Syntax

GO TO s

where s is a statement label of an executable statement appearing in the same program unit as the unconditional GO TO.

Example
The following statement transfers program control to statement 358 and normal sequential execution continues from there.
GO TO 358


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Fortran Topics