Implementation of dynamic structures using VAX FORTRAN and VMS
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
Similar Records
Design, implementation, and operation of a class based batch queue scheduler for VAX/VMS
STR82: combined string and user-interface library for VAX/VMS, RSX-11M, and RT-11