mikrom,
IMPLICIT NONE will be added to all of my programs. One of the biggest challenges when switching from C++ to Python was wrapping my head around dynamic typing. Since all of my scientific coding has switched to Python, I have learned to accept (and guiltily love) this feature of the...
Mikrom,
Thank you for the reply. That is indeed what was going on in my "Quadratic Equation" program (advanced stuff ehh?) I had an "IMGPRT" or imaginary part and "REALPT" or Real part. I will ensure that I declare variables before I use them from now on.
Cheers
Well, I solved my own problem. I have programmed in Python, and a little C++, for years. I never in all my days of programming had assumed that the first character in a variable name would have ANY bearing on the type of data it could hold. I was wrong! Apparently if the first character of...
Thank you for taking the time to read this. I am currently going through the text "Classical FORTRAN" and I am having some difficulty understanding a bug. Reading through the text, I am led to believe the the SQRT() function should return a REAL if I pass it a REAL. When I compile this code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.