Dear All, Anybody has experience with the below problem? Kindly help. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ -------- Forwarded Message -------- Subject: How to run a module. Date: Tue, 23 Feb 2016 22:01:49 +0530 From: Srinivas Nayak <sinu.nayak2001@gmail.com> To: norayr@arnet.am Dear Norayr, I compiled and installed Vishop Oberon compiler 1.1 on my linux. Below is my Hello.Mod file collected from net. I compiled the file using voc -m When I tried to run the module using ./Hello I see nothing. What is that I missed? ~# cat Hello.Mod MODULE Hello; IMPORT Oberon, Texts; VAR W: Texts.Writer; PROCEDURE World*; BEGIN Texts.WriteString(W, "Hello World!"); Texts.WriteLn(W); Texts.Append(Oberon.Log, W.buf); END World; BEGIN Texts.OpenWriter(W); END Hello. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/
Hi Try this one; hopefully this works better with "voc". MODULE hello; IMPORT Console; BEGIN Console.String("Hi there"); Console.Ln END hello. -----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Srinivas Nayak Sent: Dienstag, 23. Februar 2016 18:00 To: ETH Oberon and related systems <oberon@lists.inf.ethz.ch> Subject: [Oberon] Fwd: How to run a module. Dear All, Anybody has experience with the below problem? Kindly help. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ -------- Forwarded Message -------- Subject: How to run a module. Date: Tue, 23 Feb 2016 22:01:49 +0530 From: Srinivas Nayak <sinu.nayak2001@gmail.com> To: norayr@arnet.am Dear Norayr, I compiled and installed Vishop Oberon compiler 1.1 on my linux. Below is my Hello.Mod file collected from net. I compiled the file using voc -m When I tried to run the module using ./Hello I see nothing. What is that I missed? ~# cat Hello.Mod MODULE Hello; IMPORT Oberon, Texts; VAR W: Texts.Writer; PROCEDURE World*; BEGIN Texts.WriteString(W, "Hello World!"); Texts.WriteLn(W); Texts.Append(Oberon.Log, W.buf); END World; BEGIN Texts.OpenWriter(W); END Hello. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
In computing [and life] use successive refinement. Work forward from a proven position. Then you can say stage N works, but stage N+1 fails; which gives the problem more context. ---- Can Vishop Oberon compiler 1.1 for linux do, from yesterday's created menu, without needing to key [look away from the screen]:- * load multiple text files [linux, FAT, ETHO] from anywhere in the dir-tree, all to the save screen, to be worked on together; * 2-mouse-step wipe & dab any text to change the font/color to many possibilities; * cutNpaste graphical images from fetched http, to build your own 'books' of text and images ........ IMO ETHO is not about the language. It's about the spectacular Human Interface; which LEO preserves and just allows to run in linux to use the extra facilities of *nix, eg. USB drivers, pdf ...... == Chris Glur. On 2/23/16, Jörg <joerg.straube@iaeth.ch> wrote:
Hi
Try this one; hopefully this works better with "voc".
MODULE hello;
IMPORT Console;
BEGIN Console.String("Hi there"); Console.Ln END hello.
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Srinivas Nayak Sent: Dienstag, 23. Februar 2016 18:00 To: ETH Oberon and related systems <oberon@lists.inf.ethz.ch> Subject: [Oberon] Fwd: How to run a module.
Dear All,
Anybody has experience with the below problem? Kindly help.
With thanks and best regards,
Yours sincerely, Srinivas Nayak
Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/
-------- Forwarded Message -------- Subject: How to run a module. Date: Tue, 23 Feb 2016 22:01:49 +0530 From: Srinivas Nayak <sinu.nayak2001@gmail.com> To: norayr@arnet.am
Dear Norayr,
I compiled and installed Vishop Oberon compiler 1.1 on my linux. Below is my Hello.Mod file collected from net. I compiled the file using voc -m When I tried to run the module using ./Hello I see nothing. What is that I missed?
~# cat Hello.Mod MODULE Hello; IMPORT Oberon, Texts; VAR W: Texts.Writer;
PROCEDURE World*; BEGIN Texts.WriteString(W, "Hello World!"); Texts.WriteLn(W); Texts.Append(Oberon.Log, W.buf); END World;
BEGIN Texts.OpenWriter(W); END Hello.
With thanks and best regards,
Yours sincerely, Srinivas Nayak
Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (3)
-
eas lab -
Jörg -
Srinivas Nayak