First I want to apologize and to thank you for your help.
In what was the problem?
Home using my notebook that is running Windows 7 and Compaq Visual Fortran, while at work using Win XP SP2 installed with the same Compaq Visual Fortran compiler.
At work me your code works perfectly the...
Can not so I checked it, but come on if you can help me
how to count the number of lines in Godea.txt.
With this number I made ??a new loop, and then doing what I tried.
if you put the loop
broj=0
DO 100 j=1,N
broj=broj+1
if (broj.EQ.N) then
write (22,*) frima,sat,min,sek
else
end if
end do...
This is incredible, I started to doubt myself.
When I tried this at the Lahey ED4W again I got the same
a result, nothing.
With additional lines of DO loops the same result.
At the dos screen obtained correct Godea.txt read to file,
Zbirno.txt open again but nothing posts.
I will try...
First to thank you for your prompt response, and spent your time.
I use Compaq Visual Fortran, when I entered this code get Zbirno.txt completely empty, nothing is written.
I can not believe it. When I was quite simple and works
great.
Which compiler you use.
I have so many lines in a file I tried with the code
n=0
do j=1,10000
n=n+1
read (1,*) firma,sat,min,sek
else
end if
end do
I tried the same number of lines in a file Godea.txt but we do not go. Number n that I get from reading the number of lines in order to include
code do j=1,n...
Hi,
I have a problem with the command DO or my code is not good.
The code is simple I want to read the file Godea.txt and write to Zbirno.txt new file only with the last line from file Godea.txt.
My code looks like this:
program ZbKr
character*20 firma
integer...
CIAO
I took silverfrost and tried to compile the code.
But we report a 572 error - String found where an operator was expected in the line of code 'get married', 'bersanding' /
Do you know what the problem was due to first use
silverfrost.
Greeting
Hello everyone,
I have one problem that I do not know how to solve.
I have a file called eph.txt, plain ASCII file.
How do I change my name, in fact I would like to translate the text.
For example instead of 'filename' in the same spot to put the 'Ime fajla'
data behind ':' To stay where they...
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.