So I have begun to build, step by step, a library of 148 SUBROUTINEs and FUNCTIONs. I followed the policy to treat every item as a separate source file because there is a rumour in Fortran circles that when putting many items into a single source file and linking the resulting library into a project, the resultung .EXE file contains all of the items contained in the library, regardless whether they are called in the project or not, and that the resulting EXE's will be much larger than necessary.
When my library contained about 15 subprograms and I opened the Plato 3 project, I got the error message:
' Microsoft Visual C++ Runtime Library
Buffer overrun detected!
Program: C:\Program Files\Silverfrost\FTN95\Plato 3.exe
A buffer overran has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be terminated.'
I searched with Google for 'Buffer overrun detected!' and found a German discussion group, where this problem was discussed (there the error occurred with other EXE's than Plato 3) and where the discussion focussed on virus infection. But my daily updated antivirus program NOD32 found nothing in Plato 3.exe, and my Plato 3 worked without any problems with other, smaller projects or when opened without project, e.g. for creating a new project.
I circumvented this problem by deleting manually, with an ASCII editor, all but one of the source file entries from the .FTN95P file, then I opened the project with the remaining file, then I added again en bloc all the other 'existing items', and I could continue adding item after item to the library without any further problem. This time consuming procedure had to be repeated after every restart of my PC.
When the library contained about 50 items, I got not even that error message.
Now, when the library contains the beforementioned 148 items, I cannot add these 'existing items' at once, but I have to add them in smaller groups, and the whole procedure takes nearly half an hour. -- By the way, I cannot quit understand why adding 148 items, that is: sorting them by name, writing the corresponding 1000+ lines into the FTN95P file, and eventually updating the INI file takes longer than a small fraction of a second.
Therefore my question is: Does there exist in Plato 3 a small number (e.g. 10--15) as the limit of the allowed number of source files of a project?
With thanks in advance for any help
Wolfgang Höppner.