Organizational Constructs
program
use <module... module
endprogram public :: proc-list
private :: proc-list
contains
<procs>........subroutine........function
endmodule use module use module
endsubroutine endfunction
Action Constructs
if / elseif / else / endif
select case / case / case default / endselect
do / cycle / exit / enddo
where / elsewhere / endwhere
Declarations
type integer character intrinsic interface
endtype real logical module procedure
complex endinterface
Actions
= (assignment) allocate call stop
=> (pointer assignment) deallocate return
Input/Output
print open write inquire backspace
read close rewind
endfile
Copyright © 1994 - 2018 Linux Journal. All rights reserved.