Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hamedpar

    fortran output format

    i am using fortran 90.it has problems on "format(af6.3) ".
  2. hamedpar

    fortran output format

    when i want to write it into a file it shows error(format/variable-type mismach).it does not work correctly.like this: open(44,file='C:\IM.txt') write(44, fmt=10, advance='no') '{{{' do i = 1, N write(44, fmt=20, advance='no') ' ', b(i) end do write(44, fmt=10) '}}}' 10 format(a3) 20...
  3. hamedpar

    fortran output format

    i would like to write a txt in this format: {{{ 1 2 3 4 5 .... }}} for example a(i)=1 2 3 4 .... N but N is variable and differ each time this is part of my program but it seems to be wrong : write(430,44) (b(i),i=1,N) !N<50 44 format(' {{{ ',50F6.3,'}}}') after runing program...
  4. hamedpar

    help me in fortran90

    thanks...
  5. hamedpar

    help me in fortran90

    thanks for your help.This is an other problem.it does not refer to X1 and X2.I didi not use X1 and X2. [I have some folders with name like this:(2V or 4G or 9D) the first part is number ,the second part is letter.what kind of variable I should define for "folder" variable?? how can I assign for...
  6. hamedpar

    help me in fortran90

    I have some folders with name like this:(2V or 4G or 9D) the first part is number ,the second part is letter.what kind of variable I should define for "folder" variable?? how can I assign for example 2V to "folder"??(folder=2V) I defined it as (F2.0) but it seems to be wrong 11 format...
  7. hamedpar

    help me in fortran90

    thanks for your help .here are some questions: 1.where can I assign X1=0.05 and X2=0.10? 2.when I ran this code,it show what variables X1 and X2 are?(we did not defined X1 and X2 in the begining of the program)
  8. hamedpar

    help me in fortran90

    I had a problem on my program this is my program: program iso implicit none real , dimension(1000) :: St01,St02 integer :: k X1=0.05 (variable & Changeable) X2=0.1 (variable & Changeable) open(1,file='D:\X1\ST01_drift.txt') open(2,file='D:\X2\ST02_drift.txt') Do k = 1,1000 read(1,*) st01(k)...

Part and Inventory Search

Back
Top