skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Implementation of dynamic structures using VAX FORTRAN and VMS

Technical Report ·
OSTI ID:7152225

FORTRAN is a programming language heavily used by the scientific community; however, many find it inadequate for their programming needs because it is by nature a static memory language. Languages such as C and Pascal are dynamic memory languages and allow pointers, for processing lists and for dynamic equivalencing, and recursive subprograms, which are not allowed in FORTRAN. For some programmers who like to use FORTRAN, these deficiencies can be a significant drawback. This report discusses a method used for dynamic memory allocation and deallocation during run-time on a VMS machine that provides a handy mechanism for implementing pointers in FORTRAN. Application of this method to write routines that manage dynamic structures such as stacks and queues is examined. Two techniques for implementing recursive algorithms in FORTRAN are outlined.

Research Organization:
Los Alamos National Lab., NM (USA)
DOE Contract Number:
W-7405-ENG-36
OSTI ID:
7152225
Report Number(s):
LA-10836-MS; ON: DE87002237
Country of Publication:
United States
Language:
English