🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #16429

MPW/Lisa Pascal question.

#16429
From: gillies
Date: Fri, 29 May 1987 08:10
30 lines
1512 bytes
	I am currently converting a program from Lisa pascal to MPW pascal.
	I have never used the Lisa pascal compiler and do not have the
	manuals.  Does anyone know what the {$I-/+} compiler option does
	in Lisa pascal.  As far as I can tell, this option is not used
	(at least as $I) in MPW Pascal.  The $I option in MPW Pascal includes
	a separate source file.  I have MPW pascal 2.0b1;

	Below is a small segment of the code showing the use of the 
	$I option.  

     PROCEDURE writerec (var fd: cfile; var rec: gcrec; recnum: integer);
     BEGIN
        seek(fd, recnum);
        fd^:= rec;
        {$I-}
        put(fd);
        if (IORESULT<>0) or (eof(fd)) then 
             errmes ('CONTROL FILE WRITE ', recnum, IORESULT);
        {$I+}
     END;

	Please reply to me directly.  Thanks for your help.
----------------------------
Kim Gillies
National Optical Astronomy Observatories (NOAO)
950 North Cherry
Tucson, AZ  85719
{ihnp4, seismo}!noao!gillies
DELPHI: KGILLIES
Technical Details
Message-ID: <621@noao.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!seismo!noao!gillies

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!seismo!noao!gillies
From: gillies@noao.UUCP
Newsgroups: comp.sys.mac
Subject: MPW/Lisa Pascal question.
Message-ID: <621@noao.UUCP>
Date: Fri, 29-May-87 04:10:58 EDT
Article-I.D.: noao.621
Posted: Fri May 29 04:10:58 1987
Date-Received: Sat, 30-May-87 08:11:28 EDT
Distribution: na
Organization: National Optical Astronomy Observatories, Tucson, AZ
Lines: 30
Keywords: compiler options