Mikrom. The banner you get when you run Plato IDE from Silverfrost it just comes up for one second and that is all. You can use that one second to take a deep breath. I tried your code and works fine. Using Common worked alright. So I guess the Common is some kind of allocation and if I...
Mikrom. You are right Silverfrost is "no bueno" for allocatable in subroutine. I will try to download the Visual Microsoft Fortran Student edition and if it works I guess I will end up buying it. Gonna have to dish out some $130 bucks, yikes! The other Fortran IDE, with libraries and all...
Mikrom, hi. It is super instructive reading your posts. Yes I definitely used CONTAINS. It gives me the error mentioned in previous post. My compiler supports modules so that should work. I am trying to fix it myself but no success yet, I thought I could use INTERFACE so that subroutines...
Mikrom, I used call system(cmd_string).
I run your code with subroutines and all, one error "(941) ARRAY is dummy argument and so cannot be ALLOCATABLE". This happens in both subroutines were character ARRAY is defined. Would you know how to fix it?
Mikrom. Absolute fantastic. The "call system()" worked perfectly and it is beyond my understanding why it is not included in the 77library.pdf. The use of call system() which I didn't know opens up a wide variety of stuff I can do from my fortran code, right now I envision plotting my data to...
Mikrom, thanks again, now I understand what you mean, pretty good idea. I use DOS, so I can do
copy *.log files.txt
but when I compile system() is not an option. In fact I can not find the system() command you mention, it is actually not listen in...
Mikrom. Thanks for your reply. It is very instructive the way you program and I am definitely taking advice from the way you code to help myself. I know how to read unknown number of lines from an existing file and put it into an array, that is not my issue. My issue is to read from a working...
I have several files with extention .dat in a folder where I run my fortran code. I would like to use GET_FILES fortran command to read automatically these files names from the working folder. Could you provide me a simple example on how to use GET_FILES@ subroutine in Fortran? Your help is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.