Article View: bit.listserv.simula
Article #383Re: CIM problems
From: Ron Kerr
Date: Thu, 06 Jul 1995 00:00
Date: Thu, 06 Jul 1995 00:00
47 lines
1635 bytes
1635 bytes
Christian Steinebach writes: > > > > 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 Well - wrapping this fragment up into a legal program produces something which compiles alright with cim so, as Karel says, it looks like a compiler bug. Cheers....Ron
Technical Details
Message-ID:
<199507060858.JAA26338@aidan.ncl.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113dd9,593307057942f466
X-Google-Attributes: gid113dd9,public
From: Ron Kerr <R.Kerr@NEWCASTLE.AC.UK>
Subject: Re: CIM problems
Date: 1995/07/06
Message-ID: <199507060858.JAA26338@aidan.ncl.ac.uk>
X-Deja-AN: 105764489
sender: The SIMULA Language List <SIMULA@uga.cc.uga.edu>
comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
content-type: text/plain; charset=US-ASCII
content-length: 998
"christian steinebach" at jul 5, 95 09: 59:48 pm
mime-version: 1.0
newsgroups: bit.listserv.simula
x-mailer: ELM [version 2.4 PL23]