Collection of Snippets for Fortran

Functions & Subroutines

func=function %cursor%()\n\timplicit none\nend function
sub=subroutine %cursor%()\n\timplicit none\nend subroutine

Modules & Programs

mod=module %cursor%\n\t\nend module
prog=program %cursor%\n\t\nend program

Variables

imp=implicit none
dim=dimension(%cursor%)
int=integer

Program flow

do=do %cursor%\n\t\nend do
Print/export