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,
Appears my local A2 repository is up to date.
root@imager:~/A2# git pull origin main
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. ...
>From https://gitlab.inf.ethz.ch/felixf/oberon
* branch main -> FETCH_HEAD
Already up to date.
This is the tracking report.
root@imager:~/A2# git lfs track
Listing tracked patterns
ARM/ARM.A2/*.bin (ARM/ARM.A2/.gitattributes)
Linux32.zip (.gitattributes)
Linux64.zip (.gitattributes)
LinuxARM.zip (.gitattributes)
Win32.zip (.gitattributes)
Win64.zip (.gitattributes)
*.bin (.gitattributes)
*.zip (.gitattributes)
linux*.zip (.gitattributes)
Listing excluded patterns
Now I want to retrieve the latest Linux64.zip.
git lfs fetch Linux64.zip
Invalid remote name "Linux64.zip": invalid remote name: "/home/root/A2/Linux64.zip"
Linux64.zip isn't currently available? Another problem?
Thanks, ... P.L.
--
VoIP: +1 604 670 0140
work: https://en.wikibooks.org/wiki/User:PeterEasthope