Custom Functions > Using Fortran > About Using Fortran in Your Custom Functions
  
About Using Fortran in Your Custom Functions
You can wrap compiled Fortran code in C or C++, allowing PTC Mathcad to run it. In this way, legacy Fortran code can be reused as a PTC Mathcad Prime function. You can compile your code using Compaq Visual Fortran (formerly MS Fortran) and MS Visual C++ 6 or 7.