Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!mips!atha!aunro!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!uw-beaver!mit-eddie!xn.ll.mit.edu!usenet From: delaney@xn.ll.mit.edu (John R. Delaney) Newsgroups: comp.lang.fortran Subject: INDEX() and "_" in FORTRAN 77 under SUN 4.1 OS Message-ID: <1991May31.141830.10778@xn.ll.mit.edu> Date: 31 May 91 14:18:30 GMT Sender: usenet@xn.ll.mit.edu Organization: MIT Lincoln Laboratory Lines: 12 A colleague has run into an apparent inconsistency in the way the underscore character is handled in the FORTRAN 77 which came with SUN's 4.1 OS. That character is acceptable in variable names and can be printed out if in a string. But the INDEX function acts as if it wasn't there in the same strings. Is this a well-know problem or are we experiencing some sort of local quirk? Thanks in advance, John