FOR_STRUCT


License-Single
License - Group

FOR_C
Downloads
Price List
Support
Clients
Corporate
Links
Contact Us

HOME

 

Cobalt Blue Logo
FOR_STRUCT®

FOR_STRUCT Restructures FORTRAN 
into Clean, Maintainable Code!


If your FORTRAN programs are loaded with GOTOs and resemble spaghetti, FORTRAN is the tool you've been seeking to unscramble and totally restructure your code for easier reuse, maintenance and better efficiency. And if you're working with FORTRAN developed over the years by programmers with different styles, FOR_STRUCT can finally bring coherence to your code!  

FOR_STRUCT completely restructures old or poorly written FORTRAN, accepting a wide range of code, from the oldest FORTRAN-IV to the newest FORTRAN-77 with VAX extensions, with no file size limit.


FOR_STRUCT fully restructures FOR_STRUCT Product Shotcontrol constructs and transforms DO..CONTINUE statements, eliminating most labels.  By having optimal structure in your programs you can often save 30% or more in maintenance costs - plus the time savings are significant!

And if you need to convert your FORTRAN to C, having structured code will ensure your translations are both correct and readable!


Look at What FOR_STRUCT Offers:

  • A choice of different structuring levels - standard FORTRAN-77 (for portable, clean code), VAX FORTRAN (for easy maintenance and readability) and Fortran-90 (for upgrading to the new standard and compatibility with contemporary compilers).
  • Acceptance of a wide range of FORTRAN, i.e. FORTRAN-IV all the way to FORTRAN-77 with the ability to pass most proprietary statements through unaltered.
  • Full restructuring of control constructs, not just code indenting!  IF-GOTO and GOTO statements convert to IF-THEN-ELSE and/or DO-WHILE constructs.  DO..CONTINUE also transforms to DO..ENDDO statements, eliminating most labels.  ASSIGNED GOTO, COMPUTED GOTO and ARITHMETIC-IF statements are also converted to IF-THEN-ELSE and/or SELECT CASE constructs for contemporary code!
  • Conversion of Selected VAX FORTRAN to standard FORTRAN-77 so your code is even more portable.  We convert only those extensions which do not affect your original code, e.g. TYPE, ACCEPT, VIRTUAL, NAME, RECORDSIZE, DISPOSE, hex/octal constants, comments and tab format, along with VAX control statements, etc.
  • Code conversion with little preparatory work required.  Original code logic is kept intact and all comments stay with their original code.  Inline comments can be optionally turned into line comments for improved portability.  There's no code duplication, and any dead segments can be removed for more concise code.
  • A choice of many output styles to suite your own taste.  You can move FORMAT statements to the beginning or end of a routine, uppercase or lowercase names and keywords, control spacing, specify a continuation line character, select tab-format versus card image, and much more.

Structured code is not only easier to understand, but is more cost-effective and efficient to maintain.  And it's essential to have structured FORTRAN before converting to a language such as C, to avoid poorly translated code.

 

Download a demo version of FOR_STRUCT