Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Subroutine head...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 8225 of 8551
Post > Topic >>

Subroutine header

by Stefan <stefan@[EMAIL PROTECTED] > May 11, 2008 at 11:58 PM

When writing programs/subroutines I usually give them 'header' like
this:

PROGRAM/SUBROUTINE EXAMPLE(a,b,...)
! Version: 1.01     Last modified: 11.01.2001.
! Parameters: a - first parameter
              b - second -||-
! Calling: list of subroutines it calles, if any ...
! Part of: if part of a greater program (exclusivly)
! Compiled and tested with: CVF66c
! Modifications:
! - version number / date:
!   short description of modification

Do you have a similar habit and what do you include in those headers?
How do you organize larger programs and determine what a certain
subroutine does after not looking at it for a while ?

Stefan
 




 3 Posts in Topic:
Subroutine header
Stefan <stefan@[EMAIL   2008-05-11 23:58:16 
Re: Subroutine header
e p chandler <epc8@[EM  2008-05-11 20:44:18 
Re: Subroutine header
Mark Westwood <markc.w  2008-05-12 08:24:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:07:35 CDT 2008.