I am trying to separate a long Fortran 90 program file written in BBedit with a defining break (currently a commented line of dashes). Preferably, I would run only the section between certain breaks, similar to what Matlab does with the code sections defined by &&
.
I currently have something like:
! ----------------------------------------------------
! Section 1
real(8), parameter :: pi= 4.d0*datan(1.d0) ! pi
! do stuff...
! ----------------------------------------------------
! Section 2
complex(8) :: i ! Square-root of -1
! do stuff...
! ----------------------------------------------------
How can I run Section 1 without running Section 2 (or vise versa) without commenting a section out?