Working with Dependent Projects
NOTE: Users will need at least version 3.0 build 2898 for this example
With the release of Simply Fortran version 3.0, the development environment now supports the concept of dependent projects. A parent project can now include a dependent project in its Project Outline panel, and building the parent project will build the dependent project first without necessarily having the dependent project open in Simply Fortran at all. This paradigm...
Introducing the Windows Coarray Library
With the release of Simply Fortran version 2.41, developers on Windows now have access to true multi-image coarray support in Fortran via our Windows Coarray Library. For those unfamiliar with coarrays, they are a Fortran 2008 feature (though they existed as extensions long before the standard) for parallel processing. When used properly, this programming paradigm allows developers with modern processors to fully exploit multiple processing cores in a standard, portable...
Calling Fortran DLLs from Excel
In the last blog post, we created a simple dynamic link library for Windows that was easily callable from C, including Microsoft's Visual C++. As stated in the article, the resulting DLL was entirely standards-compliant: it utilized proper calling conventions and it exported the functions we wished to expose. Therefore, we can take another step and call said DLL from Microsoft Office Excel.
Excel spreadsheets are often used for data analysis, and,...
Creating DLLs with Simply Fortran
Simply Fortran for Windows can easily produce dynamic link libraries, or DLLs, using the appropriate "New Project" entries on its Start screen. Often times, though, users wish to create DLLs that can interact with other languages and programs, which can mildly complicate matters on Windows. In this post, we'll look at creating a DLL with some functions that can be seamlessly called from the C language. Routines callable from C, of course, are generally callable...