Hello,
I've been slowly plugging away at converting some old FORTRAN code. One issue I had earlier had to do with
Hollerith characters. This issue is similar. I have a parameter that passes a "group" to a function.
Group one is carbon. In scientific terms, the group carbon consists of two elements C,c. The parameter being passed to the function is C{*}. Right now, when I run the
program its not setting the values correctly. I'm wondering if the following is case sensitive (I'm assuming it is and think that may be the problem:
I've been slowly plugging away at converting some old FORTRAN code. One issue I had earlier had to do with
Hollerith characters. This issue is similar. I have a parameter that passes a "group" to a function.
Group one is carbon. In scientific terms, the group carbon consists of two elements C,c. The parameter being passed to the function is C{*}. Right now, when I run the
program its not setting the values correctly. I'm wondering if the following is case sensitive (I'm assuming it is and think that may be the problem:
Code:
IF ((1Ha.LE.CH .AND. CH.LE.1Hz).AND.
* ((CH.NE.1Hc).AND.(CH.NE.1Ho).AND.* (CH.NE.1Hn).AND.(CH.NE.1Hs).AND.(CH.NE.1Hp))) THEN