[Oberon] HOW2 get output of ORTool.DecSym and ORTool.DecObj in a file.

Srinivas Nayak sinu.nayak2001 at gmail.com
Tue Jul 12 17:37:10 CEST 2016


Dear All,

I see two valuable commands inside ORTool.Mod.txt,
ORTool.DecSym and ORTool.DecObj.

I used them as follows:
ORTool.DecSym Files.smb ~
ORTool.DecObj Files.rsc ~

Beautifully they present their desired output. :-)

However, instead of reading the output from System.Log,
I would like to get the output collected in a file.
So that, I can easily take the generated file out from Oberon Simulator (Peter De Wachter's),
and read/analyze it on my Linux desktop.

How can the code of ORTool.DecSym and ORTool.DecObj be changed,
so that they can produce their output collected in a file?

Confessions:
1. You can suggest me to copy paste the output from System.Log to a file.
But I find it very hard, because output is very long
and copy-paste it needs a special trick.
2. I find it easier to use pcreceive.sh and pcsend.sh
to send files in/out of Oberon Simulator,
and to modify code/text on Linux Desktop.


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