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!

Question about Case Sensitivity

Status
Not open for further replies.

jamez05

Programmer
Jul 29, 2005
130
US
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:
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
 
Hollerith is just like text - it is case sensitive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top