🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #351

output to host with Occam

#351
From: Austin M Fulk
Date: Fri, 20 Oct 1989 19:31
22 lines
1110 bytes
Hello Net-World,

How does one output to the host display under a parallel construct
using the Occam Toolset with a single T800 board on an IBM PC?

I have written the following program fragment in Occam:

PAR
   SEQ
      --send message 
      --write to the screen "message sent"
   SEQ
      --receive message
      --write to the screen "message received"

This only works if I have one of the write statements commented out.

Also, is there a writeline or equivalent tool that inserts a carriage
return after the output?

Thanks for any help that you can provide.
                                            Alan
Technical Details
Message-ID: <3019@jhunix.HCF.JHU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!aplcen!jhunix!demon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!aplcen!jhunix!demon
From: demon@jhunix.HCF.JHU.EDU (Austin M Fulk)
Newsgroups: comp.sys.transputer
Subject: output to host with Occam
Message-ID: <3019@jhunix.HCF.JHU.EDU>
Date: 20 Oct 89 19:31:13 GMT
Reply-To: demon@jhunix.hcf.jhu.edu (Alan Schnittman)
Organization: The Johns Hopkins University
Lines: 22