🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.simula
Article #381

Re: CIM problems

#381
From: Christian Steinebach
Date: Wed, 05 Jul 1995 00:00
66 lines
2151 bytes
>
>      I find it hard to believe that the program would compile elsewhere if
>      it were just the end comment. I would rather suspect unconventional
>      treatment of formatting characters causing the trouble. That would
>      explain why it is so difficult to spot when browsing the program text.
>      Or is it not? Could you show the program text in the vicinity of the
>      error spot?
>
>      Karel Babcicky
>
Here comes an example code fragment. The whole code is
embedded into the DEMOS context.

--------------------------------------------
Head CLASS TaskList;
BEGIN

   BOOLEAN PROCEDURE Load;
   BEGIN
   !*** code deleted;
   END; !***of procedure Load***;

   REF(Task) PROCEDURE Find(TaskID); TEXT TaskID;
   BEGIN
   !*** code deleted;
   END; !***of procedure Find***;


END; !***of class TaskList***;

Link CLASS Task;
BEGIN

   TEXT    ID,
      Location,
      SparePartNo,
      ASEPartNo;

   INTEGER Personnel;
   REAL    ElapsedTime;
   REF(Resource) Spare, ASE;

!!!!!!!!!! Here the cim compiler complains  !!!!
!!!!!!!!!! Declaration following a sentence !!!!

END; !***of class Task***;

...
more code
--------------------------------------------

At another location the compiler complains
about the following line


--------------------------------------------
Entity CLASS TransportationOperator(ResupplyTransport,IncNo);
>>>>>>  In the above line the error message occurs.
INTEGER IncNo;
REF(Transport) ResupplyTransport;
BEGIN
--------------------------------------------


        Thanks for your interest
                Christian
Technical Details
Message-ID: <199507051959.AA088164389@mtdhp1.marintek.sintef.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113dd9,593307057942f466
X-Google-Attributes: gid113dd9,public
From: Christian Steinebach <chris@DT.MARINTEK.SINTEF.NO>
Subject: Re: CIM problems
Date: 1995/07/05
Message-ID: <199507051959.AA088164389@mtdhp1.marintek.sintef.no>
X-Deja-AN: 105673096
sender: The SIMULA Language List <SIMULA@uga.cc.uga.edu>
comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
mailer: Elm [revision: 70.85]
newsgroups: bit.listserv.simula
              95 1: 19 pm