🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #95

Re: compiler error

#95
From: bane M i c h a e l -
Date: Thu, 06 Aug 1992 19:25
26 lines
1153 bytes
well.... I've found the "problem". Here is a segment of my code:

  SEQ messages.to.send=0 FOR Min(clockwise, anticlockwise)
    SEQ
      PAR
        ... send data to.clockwise
        ... receive data from.clockwise
        ... send data to.anticlockwise
        ... receive data from.anticlockwise
      ... update some information

  IF
    clockwise = anticlockwise
      SKIP
    clockwise = (anticlockwise+1)
      ... send/receive data clockwise
    clockwise = (anticlockwise-1)
      ... send/receive data anticlockwise



The COMPILER ERROR 'occurred' at the IF statement. But, many hours later, I discover
that the compiler was totally unable to cope with the replicated SEQ statement having
the count defined by a function... ;-(

Michael
Technical Details
Message-ID: <5613@m1.cs.man.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!mucs!vtx.ma.man.ac.uk!bane
References: <5593@m1.cs.man.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!mucs!vtx.ma.man.ac.uk!bane
From: bane@vtx.ma.man.ac.uk) (M i c h a e l ;-)
Newsgroups: comp.sys.transputer
Subject: Re: compiler error
Keywords: H*E*L*P !!
Message-ID: <5613@m1.cs.man.ac.uk>
Date: 6 Aug 92 19:25:17 GMT
References: <5593@m1.cs.man.ac.uk>
Sender: news@cs.man.ac.uk
Organization: Numb Anal Research
Lines: 26