

Programming style is a matter of taste and can lead to long lasting religious wars. There's no wrong or right way. Do that which seems natural to you.
instead ofreal, dimension(20), save :: val real, save :: xval real, dimension(10) :: aval
The obvious advantages are that you can quickly see all the attributes for a given variable.real val, xval, aval dimension val(20), aval(10) save val, xval
subroutine subr(in, out)then call with
call subr(in=xxx, out=yyy)or equivalently called as
call subr(out=yyy, in=xxx)this hides any subsequent changes to the user interface (by making successive arguments optional and testing for them).

