[Info-vax] Architecture specific code in VMS Fortran

Bob Koehler koehler at eisner.nospam.encompasserve.org
Mon Oct 3 10:02:52 EDT 2011


In article <MI-dnVoiofumFRXTnZ2dnUVZ_jqdnZ2d at earthlink.com>, "John Reagan" <johnrreagan at earthlink.net> writes:
> 
> and unlike C, the %IF/%ELIF/%ELSE/%ENDIF directives do not have to start on 
> column 1.  It is a token-based system, not a line based system.

   It's been a great many long years since the C preprocessor required
   # directives to start in column 1.  For example, the following is
   valid:


   #ifdef __VMS
      #include <xyz.h>
      #ifdef __VAX
      	 #include VAX specific stuff
      #elif defined(__Alpha)
      	 #pragma Alpha stuff
      #else
      	 some IA64 stuff
      #endif
   #endif




More information about the Info-vax mailing list