Thank you both for your reply.
say i have a given value say (8/9)^0.5 and it is fixed.
I want to define it this way,
Real,parameter::x1=(8/9)^0.5
But they are showing that i cannot do this..but why? is my value value contain long significant values?
Niloy
thanks for your reply.
No these are not single valued. It may vary like 0.987 or 0.675
yes the number of digits in a line may vary..A line can be written in this way:
0,0,0,0,0.98,0.96,0.45
1.45, 1.8,2,2,2,
this is a single line but written in in two line
thank you
Say I have 12 number 2,2,2,2,3,4,5,6,7,0,0,0.i want to count the number of 2 from the first end and 0 from the last end ….how can I do it in fortran? say I have 5 lines…and I will have to count the number from each line…as an example I am giving a set of numbers..
2,2,2,2,3,4,5,6,7,0,0,0...
Dear Norbert,
Thank you very very much for your reply.
I was a great help for me.
Can you suggest me some tips or references for understanding string very clearly.
Niloy
Dear Norbert,
Thank you for your mail.
Thank you for your codes also.
Can i explain my problem in detail?
--
I have a file in which there are a lot of rows and 80 column.
I will have to split the whole file into 4 pieces.
There are four symbol on the 10 th column of the file (like a,b,c,d).
I...
Is it possible to read a particular column in a file by using fortran? Say i want to read the 5th column of a file. Is it possible to do so?As an example?
This is a data from a file.
asd1 rty2 iii1
uhy2 koi3 kjh4
kjh3 jhg3 kjh5
I want to make three file from these data considering there fourth...
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.