Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucsd!ucbvax!UMBSKY.BITNET!COLEMAN From: COLEMAN@UMBSKY.BITNET Newsgroups: comp.os.vms Subject: INDEX Message-ID: <8802092059.AA05386@ucbvax.Berkeley.EDU> Date: 27 Jan 88 14:04:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 101 Hello! After three weeks of relative inactivity, I'm ready to distribute the INDEX program which Paul Charette of the Naval Underwater Systems Centre (charettep@nusc-wpn.arpa) obtained from a DECUS tape. For those of you who either don't recall all the details or never saw his messages, they can be found below in their entirety. Just send me your BITnet address and I'll get it to you as soon as humanly possible. ARPAnet readers -- read below for the node address and other relevant info for FTPing it. Steve Coleman Computing Services University of Massachusetts at Boston Harbor Campus Boston Mass 02125 USA (617) 929-7805 BITnet: COLEMAN@UMBSKY =============================================================================== (Message #1) Greetings and Permutations, About two weeks ago, I requested information about a program which would analyze FORTRAN code and generate flow charts. Thanks to responses by many of you, I traced down INDEX, a DECUS program which is touted as a "FORTRAN Cross Referencer and Flow Chart Generator". (embed disclaimer) I haven't had time to test it out, so I can't speak for it's usefulness or reliability, but it looks quite useful. If you would like a copy, I will gladly forward the source to you. I wish I could make it available for Anonymous FTP, but our site doesn't allow anonymous access. Be warned, however, that it is quite large, however (23 files, ~3000 blocks of source, with the largest file having 880 blocks). I tried packing it using VMS_SHAR, with MAX_PART_SIZE = 64 INDEX-FORTRAN CROSS REFERENCE AND FLOW CHART ABSTRACT INDEX is a FORTRAN source cross-referencing and flow charting utility that allows the user to look at individual source files (optionally saving the data for an overall SUPER INDEX) and determine what variables are used on what lines and how they are used. Furthermore the user can select for display/save for SUPER INDEX only those variables or COMMON blocks with the characteristics that he is interested in-global/local, assigned value/not assigned value, used/unused, imported/exported, etc in any combination. Also available is the optional ability to show up to four additional items of information for display during the regular and SUPER INDEX: The variable storage location information (local, in COMMON, passed by argument, etc). The variable type (REAL F_Floating, structured etc) Usage in FUNCTION/SUBROUTINE calls (routine used in and argument number). A user selected tag of up to 31 characters. The data saved for a SUPER INDEX listing (consisting of 6 data items as outlined above) can be displayed with a great deal of flexibility as to the data item selection, order and format (or saved in an ISAM data file for the user to work on directly). A special option of the SUPER INDEX allows the output of a list of module entry points which pass data in and out by argument, the name of each argument and it's type , the name of any module which call that entry point along with the the name of each variable passed in the corresponding argument position and it's type. The resulting information supplied allows the user to follow the flow of data throughout a program or find the usage of any selected data variable as required. If selected, the user may at the same time generate a flow chart of the source file currently being cross-referenced. If wanted, the user can generate in place of the SUPER INDEX, an entry point cross reference listing showing who calls who and is called by who (with optional graphical tree output). ============================================================================= (Message #2) INDEX is now available through anonymous FTP from garfld.msfc.nasa.gov. Their ARPAnet node number is 128.158.1.1. The anonymous account username is ANON. The password is GUEST. Enjoy! ============================================================================= -------