10000000000000000000000
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 4 articles for 0.000 sec
Re: Easy formatting questions :-)     

Group: comp.lang.fortran · Group Profile · Search for 10000000000000000000000 in comp.lang.fortran
Author: Dick Hendrickson
Date: Apr 8, 2007 18:02

... than you will ever need and "read" through it character by character. something like character (len=1000000000000000000) :: x !or maybe smaller ;) x=' ' read(...) x do i = 1,10000000000000000000000 if(x(I:I) == '1') vector(i) = 1 if(x(I:I) == '0') vector(i) = 0 if(x(I:I) == ' ') exit enddo here, I will ...
Show full article (6.08Kb)
Re: Easy formatting questions :-)     

Group: comp.lang.fortran · Group Profile · Search for 10000000000000000000000 in comp.lang.fortran
Author: James Giles
Date: Apr 8, 2007 14:56

sk8terg1rl wrote: ... do i = 1,10000000000000000000000 if(x(I:I) == '1') vector(i) = 1 if(x(I:I) == '0') vector(i) = 0 if(x(I:I) == ' ') exit enddo here, I will be the actual length Why did you do x(I:I) instead of x(I)? It's a design flaw of F77 that persists into the later versions of the standard because of backward ...
Show full article (1.24Kb)
Re: Easy formatting questions :-)     

Group: comp.lang.fortran · Group Profile · Search for 10000000000000000000000 in comp.lang.fortran
Author: sk8terg1rl
Date: Apr 8, 2007 14:21

..., bigger than you will ever need and "read" through it character by character. something like character (len=1000000000000000000) :: x !or maybe smaller ;) x=' ' read(...) x do i = 1,10000000000000000000000 if(x(I:I) == '1') vector(i) = 1 if(x(I:I) == '0') vector(i) = 0 if(x(I:I) == ' ') exit enddo here, I will be ...
Show full article (4.27Kb)
Re: Easy formatting questions :-)     

Group: comp.lang.fortran · Group Profile · Search for 10000000000000000000000 in comp.lang.fortran
Author: Dick Hendrickson
Date: Apr 8, 2007 12:28

... character string, bigger than you will ever need and "read" through it character by character. something like character (len=1000000000000000000) :: x !or maybe smaller ;) x=' ' read(...) x do i = 1,10000000000000000000000 if(x(I:I) == '1') vector(i) = 1 if(x(I:I) == '0') vector(i) = 0 if(x(I:I) == ' ') exit enddo here, I will be the ...
Show full article (3.04Kb) · Show article thread