VMS Help FORTRAN, Statements, GOTO, Computed *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Transfers control to a statement based upon the value of an expression within the statement. Statement format: GO TO (slist)[,]e slist Is a list of one or more labels of executable statements separated by commas. The list of labels is called the transfer list. e Is an integer arithmetic expression in the range 1 to n (where "n" is the number of statement labels in the transfer list). If the value of e is less than one or greater than the number of labels in the transfer list, control is transferred to the first executable statement after the computed GO TO.
|