Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6157971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:52:30+00:00 2026-05-23T20:52:30+00:00

I am not sure which version of Fortran is this piece of code, also

  • 0

I am not sure which version of Fortran is this piece of code, also I am not very good at it but here is the piece of code that I try to understand…

      DO 55 J=1,N  
      IF(KODE(J)) 55,55,40  ! Can not figure out what this line does
   40 DO 50 I=1,N  
      CH=G(I,J) 
      G(I,J)=-H(I,J)
      H(I,J)=-CH
   50 CONTINUE
   55 CONTINUE

In the loop given above, could you help me to understand what the 2nd line does, specifically the labels 55,55,40

This is a code from a boundary element book that I am trying to understand…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:52:31+00:00Added an answer on May 23, 2026 at 8:52 pm

    Wow … I haven’t seen that syntax in a while. That is a Fortran Arithmetic IF Statement. The result of KODE(J) is a number. If it is less than zero, then the first jump is used, if it is equal to zero, then the second jump is used, otherwise, the third jump is used. This is roughly equivalent to:

    X=KODE(J)
    IF (X.LT.0) GO TO 55
    IF (X.EQ.0) GO TO 55
    GO TO 40
    

    My Fortran skills have faded significantly, but this is what I remember.

    In this particular case, even simpler for programmer to write

    X=KODE(J)
    IF (X.LE.0) GO TO 55
    GO TO 40
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Oracle SQL Developer to query an Oracle DB (not sure which version
I need help with LINQ syntax or methodology, not sure which. Here's my issue:
I have a class that holds a few vectors, I'm not sure which method
I am fairly new to MVC but not sure exactly which Redirect... replaces the
The XML Schema 1.1 version of very good interesting features that are invaluable for
I'm not sure which SDK version should I use to build the project if
I'm getting a jquery error in the IE8 debugger but I'm not sure which
I have heard of a limitation in VC++ (not sure which version) on the
I have two version of the same function and i am not sure which
I'm not sure which is these is appropriate for my current application. I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.