[Oberon] Fwd: How to run a module.

Srinivas Nayak sinu.nayak2001 at gmail.com
Tue Feb 23 17:59:46 CET 2016


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 at gmail.com>
To: norayr at 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/


More information about the Oberon mailing list