In this section:
This tutorial shows you how to develop a simple Windows application using a Silverfrost Fortran compiler and ClearWin+. It takes you through a step-by-step process leading to an interactive program that produces the factors of a user-supplied integer. This "Number Factoriser" is one of the demonstration programs that is supplied with ClearWin+. The full source code can be found in the file called factor.for.
The tutorial is based on a number of files called factor1.for, factor2.for, etc. that can be found in the ClearWin+ demonstration directory installed on your hard disk. These files present stages in the development of the full program. The files are listed in the tutorial together with a detailed line-by-line explanation of the purpose and effect of the code. The idea is that you should compile, link and run factor1.for and then read the explanation for this file. Then proceed to factor2.for and so on.