Fortran parameter Pass

Source: Internet
Author: User

Recently toss the Fortran code, and most of it is F77, it is the brain vertigo.

The relationship between the formal parameters and the actual parameters of functions in C naturally is clear in the chest, to the Fortran some confusing mind.

In fact, the subroutine in the Fortran parameter passing similar to Python, finally found a little familiar with the shadow.

such as appearing

Call Test (1, c=2, b=1)

However, a variety of data types of matching is a big problem, IVF should have control parameters, have time to look for.

===================================================

Some of the grammatical limitations of IVF are so silent

For example, the problem of passing a single variable and a one-dimensional set of prime numbers can be successfully compiled under Release settings,

There is a problem with Debug.

There are a lot of such problems in the existing code that are really silent.

===================================================

For yourself, constantly wrestling in the Fortran code jungle to find out all kinds of mistakes and problems

It was a painful experience.

===================================================

One of the great difficulties for C/s + + programmers is

subroutine when passing arguments, arguments and formal parameters can be inconsistent, resulting in the last error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.