13.07.2015 Views

A Brief Introduction to Fortran 77 - Polaris

A Brief Introduction to Fortran 77 - Polaris

A Brief Introduction to Fortran 77 - Polaris

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory MangementWithin subprograms (that is, subroutines and functions), onecan have• au<strong>to</strong>matic arrays that come in<strong>to</strong> existence each time thesubprogram is entered (and disappear when the program isexited).• ExampleSUBROUTINE domething(,j,k)REAL, DIMENSION(2*j,k**2) :: carr32 of 118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!