我先说个示例:[Fortran] 纯文本查看 复制代码 SUBROUTINE swap(i, j)
INTEGER :: i, j
IF (i < j)
! The BLOCK statement has no BLOCK_construct_name. The corrsponding END BLOCK
! statement cannot have a BLOCK_construct_name either.
BLOCK
INTEGER :: temp
temp = i
i = j
j = temp
END BLOCK
END IF
END SUBROUTINE swap |