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 strongm 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. AiProgramDo

    Loop problem

    That was only commented out in my note to the forum. I actually take in k and b from user input, and was just noting their values in the code I posted in case that was part of the problem. Thanks, though. I did get everything to work though...see my note dated 2 Feb 11 if you want to let me...
  2. AiProgramDo

    Loop problem

    I got my program to work, but I don't understand why. The following line was just before the loops in my program: PRINT *, "Reading input file into memory..." When I commented it out, the loops ran like a charm. What happened there???
  3. AiProgramDo

    Loop problem

    I am new to Fortran 90, but have programmed in other languages. I am working on reading data into an array, and have a nested do loop that is acting strangely: INTEGER (KIND = 4) :: i,j ! Loop counters INTEGER (KIND = 4) :: k ! Number of pixels INTEGER (KIND = 2) :: b ! Number of bands INTEGER...

Part and Inventory Search

Back
Top