🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3344

Re: structured types & procedures

#3344
From: Bill Seurer
Date: Thu, 07 Mar 1996 15:08
15 lines
938 bytes
In article <DnrCDH.17u@lut.ac.uk>, "J.Last" <eljl3@dwalin.lut.ac.uk> writes:
|> I use both the FTL Modula-2 compiler for CP/M and the Stony Brook compiler for
|> the PC. In the FTL compiler, this statement was fine:
|> 
|> TYPE Vector: ARRAY [0..10] OF REAL;

Try

  TYPE Vector = ARRAY [0..10] OR REAL;

The one with the : in it is invalid syntax.
-- 

- Bill Seurer     ID Tools and Compiler Development      IBM Rochester, MN
  Business: BillSeurer@vnet.ibm.com               Home: BillSeurer@aol.com
Technical Details
Message-ID: <4hmu5o$vje@locutus.rchland.ibm.com>
Path: arc1-ca.pugleaf.net!nordruth.rchland.ibm.com!seurer
References: <DnrCDH.17u@lut.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!nordruth.rchland.ibm.com!seurer
From: seurer@nordruth.rchland.ibm.com (Bill Seurer)
Newsgroups: comp.lang.modula2
Subject: Re: structured types & procedures
Date: 7 Mar 1996 15:08:40 GMT
Organization: IBM Rochester MN
Distribution: world
Message-ID: <4hmu5o$vje@locutus.rchland.ibm.com>
References: <DnrCDH.17u@lut.ac.uk>
Reply-To: BillSeurer@vnet.ibm.com
NNTP-Posting-Host: nordruth.rchland.ibm.com