Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!husc6!necntc!ames!ucbcad!ucbvax!ucsfcgl!socrates.ucsf.edu!kneller
From: kneller@socrates.ucsf.edu (Don Kneller)
Newsgroups: comp.sys.ibm.pc
Subject: Query: include file syntax
Message-ID: <10268@cgl.ucsf.EDU>
Date: Thu, 16-Jul-87 16:01:26 EDT
Article-I.D.: cgl.10268
Posted: Thu Jul 16 16:01:26 1987
Date-Received: Sat, 18-Jul-87 08:45:17 EDT
Sender: daemon@cgl.ucsf.edu
Reply-To: kneller@socrates.ucsf.edu (Don Kneller)
Distribution: na
Organization: UCSF Computer Graphics Lab
Lines: 36

I'm in the process of writing an automatic dependency generator and
need to know the syntax for including files in various languages
running on the PC.

For example, the syntax for C is:
	#[ whitespace ]include "file"	- and -
	#[ whitespace ]include 

	where # must be the first character on the line.

For masm it is:
	include file

Also, I would like to know the directories that are searched in trying
to find the include file.  For Microsoft C, the INCLUDE environment variable
is used, and directories can be added to the include path with the -I
command line switch of "cl".  For Microsoft MASM, additional paths can
also be added with -I.

The languages I would like to hear about are:
	Turbo C
	Turbo PASCAL (and other PASCALs)
	FORTRAN (both Microsoft and other)
	any others with include files

Also, I need to know the filename extensions used to describe the source
files and their include files.  For example, C uses .c and .h, MASM
uses .asm and .mac (and perhaps .inc)

Thanks in advance,
	Don
-----
	Don Kneller
UUCP:	...ucbvax!ucsfcgl!kneller
ARPA:	kneller@cgl.ucsf.edu
BITNET:	kneller@ucsfcgl.BITNET