Newsgroups: comp.sys.transputer
From: eliwp@lut.ac.uk (I.W.Phillips)
Subject: Re: An occam query
Organization: Loughborough University, UK.
Date: Wed, 15 Jun 1994 08:14:02 GMT
Message-ID: <CrFIvE.7or@lut.ac.uk>

Warren Day (wgd@ukc.ac.uk) wrote:
: []BYTE packet
:   ...
:   INT value RETYPES [packet FROM 0 FOR bytes.in.an(INT) ]:
:   value := expr
: <some deleted>
: compiler.  I would prefer to have something automatic that the compiler can
: look at and work out,

Well, if this is really what you want then something like

INT int :
VAL bytes.in.an.int IS SIZE int :

should work

--
Iain Phillips (I.W.Phillips@lut.ac.uk)

