Newsgroups: comp.lang.fortran Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!mroussel From: mroussel@alchemy.chem.utoronto.ca (Marc Roussel) Subject: Re: Is the INCLUDE statement standard? Message-ID: <1990Aug30.143343.2521@alchemy.chem.utoronto.ca> Organization: Department of Chemistry, University of Toronto References: <1990Aug29.160951.19827@athena.mit.edu> Date: Thu, 30 Aug 90 14:33:43 GMT In article maine@elxsi.dfrf.nasa.gov (Richard Maine) writes: >Almost all systems support something roughly equivalent. The exact >syntax varies somewhat, however. In my experience, the most widely >adopted syntax looks like > include 'filename' >with the include starting in column 7 or later just like a fortran >statement, and with quotes around the file name. >Compilers that I personally have used with this exact syntax include >Elxsi, Sun, Vax, Iris 4D (mips), IBM RS6000, and Lahey F77L (for IBM PCs >running DOS). Add to that list Apollo's machines. (The Apollo compiler supports both this syntax and one that requires passing your code through the C preprocessor. Yecchh!) Marc R. Roussel mroussel@alchemy.chem.utoronto.ca