Newsgroups: comp.sys.transputer
From: kang@dcs.shef.ac.uk (Kang Hsin)
Subject: Re: OCCAM3 (was :- Revision of occam 2 Reference Manual)
Organization: Department of Computer Science, University of Sheffield
Date: 8 Aug 1994 13:26:22 GMT
Message-ID: <325bpu$hl8@gate1.dcs.shef.ac.uk>


: >- RETURN from a PROC or FUNCTION... (dunno how to handle RETURNs in
: >  a PAR.. maybe the compiler could restrict the use of RETURNs to
: >  PROCs which don't have PARs..)

: I am not sure what you mean here. If you mean RETURN from the middle of
: a function, then there is no functionality added to the language, just
: confusion.

: Cheers,     Andy.

This reminds me another question. Why is it a implementation restriction if you use a PAR construct inside a FUNCTION???


Kang Hsin Lu

--
  Parallel Processing Research Group
  Dept. of Computer Science          
  Sheffield University                     


