****************************************************************
Visit Shakti - an energy related web site of Bangladesh at
http://shakti.hypermart.net/
****************************************************************
Dear Mr. Schriftman,
First of all thanks a lot for your help. According to your suggestion, I
have made the new files with the subroutine used at the main program.
Then I have made a project file(*.mak) and then execute that mak file
and it worked. Is this way of linking two or more fortran source code is
o.k.? i.e. the separate file size (each less than 64kb) can be used to
make a project file thus the problem of the large source code (more than
64 kb) consisting of these smaller files does not exist.
Is there any other method of linking separate files in msfortran 5.1?
please help me.
Regards,
Mazharul Islam
Assistant Engineer
Bangladesh Power Development Board
25 Shantinagar
Dhaka-1217
Bangladesh
email: [log in to unmask]
phone: (880)-2-419644
Home Page : http://shakti.hypermart.net/mazhar.html
Roy G. Schriftman wrote:
> Use the technique of program overlays or subroutines and
> function calls, e.g. rewrite the program into two smaller
> segements, compile and save them seperately. Write a small
> main program, that Calls the two subroutines. Compile the
> Main program and Link it to the two smaller pieces of the
> original program. If you want to link the sub-programs on
> the fly, then place them into a DLL. This should be
> described in detail in you programming manuals.
>
> > --
> Roy G. Schriftman, MS, MBA
> Instructor Computer Science, Manager Computer Laboratory
> e-mail [log in to unmask]
> icq #6705829 - jusAhack
> Office 215-596-8935
> Home 215-635-1720
|