FORTRAN 77 Language Reference

Restrictions

The variable must be assigned a statement label before referencing it as a label in an assigned GO TO statement, or as a format identifier.

While i is assigned a statement label value, do no arithmetic with i.

On 64-bit platforms, the actual value stored in variable i by the ASSIGN statement is not available to the program, except by the assigned GO TO statement, or as a format identifier in an I/O statement. Also, only variables set by an ASSIGN statement can be used in an assigned GO TO or as a format identifier.