please note that u'r responses to my ?'s are critical, i need to finish the fortran-java conversion by next 2 wks, so u'r help is REALLY appreciated!
suppose we have...
1. FORMAT (/' input a FORTRAN-type FORMAT for the data')
READ (*,'(A)') FMAT
ok so something got put into FMAT, what does '(A)' mean?
if i am converting this statement to java, how should i deal with fortran-type formats?
2. so for FORMAT(125A1), i know this prints 125 characters, so what is A1 stand for? A1 is not a variable in my program so what is it?
3.FORMAT (2X,50A1), so 2X is not a variable in my program, what is it? and 50A1, does this mean print 50 characters and A1 part i don't know what it means? so FORMAT is like printf but what is the general idea of a statement like this?
4.FORMAT (I5, F10.2,2F15.2,F14.2), please explain this mess?
u know i tried to google FORMAT and i even have a book here but i just don't understand this code.
5. 28 FORMAT (/' TOTAL TEST:',40X, F8.2);
26FORMAT( //' Summary statistics for subscale', I3)
what's the difference between /' and //'
suppose we have...
1. FORMAT (/' input a FORTRAN-type FORMAT for the data')
READ (*,'(A)') FMAT
ok so something got put into FMAT, what does '(A)' mean?
if i am converting this statement to java, how should i deal with fortran-type formats?
2. so for FORMAT(125A1), i know this prints 125 characters, so what is A1 stand for? A1 is not a variable in my program so what is it?
3.FORMAT (2X,50A1), so 2X is not a variable in my program, what is it? and 50A1, does this mean print 50 characters and A1 part i don't know what it means? so FORMAT is like printf but what is the general idea of a statement like this?
4.FORMAT (I5, F10.2,2F15.2,F14.2), please explain this mess?
u know i tried to google FORMAT and i even have a book here but i just don't understand this code.
5. 28 FORMAT (/' TOTAL TEST:',40X, F8.2);
26FORMAT( //' Summary statistics for subscale', I3)
what's the difference between /' and //'