Path: utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!bloom-beacon!athena.mit.edu!led From: led@athena.mit.edu (Jay Jungalwala) Newsgroups: comp.lang.pascal Subject: Help! Useing Include Files Message-ID: <8918@bloom-beacon.MIT.EDU> Date: 25 Jan 89 08:28:21 GMT Sender: daemon@bloom-beacon.MIT.EDU Reply-To: led@athena.mit.edu (Jay Jungalwala) Organization: Massachusetts Institute of Technology Lines: 33 Hi there, Well here is my problem, I am writing a pascal program on a VAX 11/780 Running Ultrix (ick) 2.0, useing the standard pascal complier (not sure which version!) and my book tells me that I can add include files (.h), like in C, useing two different ways: 1) (*$i filename *) Which worked to a point, but when I try and use something that is defined in the .h file it dies. 2) %include 'filename' Which my book said would work on a Vax machine but it dies and tells me that the % is not right syntax, so I removed the % then it tells me that the include is a bad procedure, and etc. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= MY BOOK: Pascal with Applications in Science and Engineering by Susan Finger and Ellen Finger (c) 1986 ( The book I think is very good ) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= So anyway what should I do now? Which one works? You can e-mail me back if you would like, at either one of the address(s) below. Thanks in advance. --------------------------------------------------------------------------- R-E-P-L-E-Y---T-O--> led@wombat.mit.edu OR lsrsh!led@wombat.mit.edu (Jay Jungalwala)