Generally, re-using code instead of copying is a good approach.
If you do so, then the whole code of Mail is imported in News. Possible but perhaps there is even a better approach to re-use code.
What about this: try to separate all common code in an own module (e.g call it Communication.Mod or MsgBase.Mod or Utilities.Mod or so) and import this new module in Mail and in News.
br
Jörg
> Am 14.06.2023 um 19:53 schrieb peter(a)easthope.ca:
>
> Hello again,
>
> Several procedures in Mail are used in Oberon News. Rg.:
> Mail.ParseContent(), Mail.DecodeMessage() & Mail.GetSetting().
>
> Is export of SendCmd() and use in News objectionable?
> Ie. in Mail, change PROCEDURE SendCmd(...) to PROCEDURE SendCmd*(...).
>
> Thanks, ... P.
>
> -
> mobile: +1 778 951 5147
> VoIP: +1 604 670 0140
>
> --
> Oberon(a)lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
Hi,
Names and words are more fundamental than language and text. Children
learn some words before assembling sentences.
So I think of putting the "Naming" and "Glossary" headings between
"Beginning as a Novice" and "Text". Comments?
Thx, ... P.L.
--
mobile: +1 778 951 5147
VoIP: +1 778 508 0020
Bcc: peter at e a s t h o p e dot c a
projects: en.wikibooks.org/wiki/User:PeterEasthope
The latest/current version of V4 Oberon for Linux (1.7.02 from
SourceForge
https://sourceforge.net/projects/oberon/files/Oberon%20V4%20for%20GNU_Linux… dated
2004) contains a bootstrap loader written in an outdated C version and
some syntax problems in the start script.
With a lot help of ChatGPT I was able to update the C code so that it
compiles an runs under a more recent 64bit version (bookworm, i.e.
oldstable).
see https://github.com/btreut/Oberon4Linux-Bootstrap
All testers and feedback is welcome.