Thread View: comp.sys.transputer
2 messages
2 total messages
Started by Andy Macfarlane
Tue, 13 Oct 1992 09:28
NEW LINE CHARACTER IN OCCAM
Author: Andy Macfarlane
Date: Tue, 13 Oct 1992 09:28
Date: Tue, 13 Oct 1992 09:28
9 lines
576 bytes
576 bytes
I am using a transputer simulator on a Sun Workstation. Any ideas of what the new line symbol is eg \n in C. I suspect it will be in the same for as say spk.ok, but I can't find it anywhere Andrew MacFarlane University Of Westminster
Re: NEW LINE CHARACTER IN OCCAM
Author: Nigel Holder
Date: Tue, 13 Oct 1992 12:37
Date: Tue, 13 Oct 1992 12:37
36 lines
1621 bytes
1621 bytes
In article <1992Oct13.092832.16952@westminster.ac.uk> tyzec@westminster.ac.uk (Andy Macfarlane) writes: > >I am using a transputer simulator on a Sun Workstation. > >Any ideas of what the new line symbol is eg \n in C. I suspect >it will be in the same for as say spk.ok, but I can't find it >anywhere > >Andrew MacFarlane >University Of Westminster I am not quite sure on where and how you want to generate a newline sequence, but here are two ways: occam 2 Reference Manual (Prentice Hall, supplied with INMOS occam toolsets) pp 92 states: *c *C Carriage return *n *N Newline may be used in strings or as character constants. However, an alternative method would be to use so.write.nl which worries about how to send a newline sequence to the screen (or the other so.*.nl variants). -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nigel Holder, Software Group, INMOS Ltd Tel +44 454 616616 1000 Aztec West Fax +44 454 617910 Almondsbury UK: nigel@inmos.co.uk Bristol BS12 4SQ, UK. US: nigel@inmos.com "Lost in time like tears in rain. Time to die" Blade Runner
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads