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. AndersO

    Fortran newbie, simple loop question, continues everywhere!

    Well, its all done now!.. Fortran and C conversion.. Took a bit longer to convert than I thought. Arrays start at 1 in Fortran and at 0 in C, that kept me going for a while.. And the result from the program seems to be the same both in Fortran and C, so either both have the same error or both...
  2. AndersO

    Fortran newbie, simple loop question, continues everywhere!

    That helped allot!, thanks!. What a weird programming language. No, no disk. Didn't ask for the source code either, spoiling all the fun?! Rubber band?.. Never thrust a computer with rubber bands in it. :)
  3. AndersO

    Fortran newbie, simple loop question, continues everywhere!

    Oups.. I realize that now. But the Fortran code is on paper in a book!, after emailing the author I now know the continue has no meaning. However, I downloaded a free fortran77 compiler and I'm going to write it down. Like an reference to the conversion. And immediatly I stumble on another...
  4. AndersO

    Fortran newbie, simple loop question, continues everywhere!

    Ok, as I suspected then.. I haven't completly finished the conversion so it wont compile yet. Thanks!
  5. AndersO

    Fortran newbie, simple loop question, continues everywhere!

    I'm about to convert a Fortran77 program to C and have encounter a code snippet something like this: DIMENSION TMP(5) DO 10 K=1, 5 10 TMP(K)=0 CALL FUNC 20 CONTINUE STOP END SUBROUTINE FUNC WRITE (*,*)'Just a test' RETURN END Whats the deal with that continue?.. There is...

Part and Inventory Search

Back
Top