<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Peter<div><br></div><div>Although you didn‘t ask me, here another method to switch output: LinzOberon offers the „version elements“ (<a href="http://www.ssw.uni-linz.ac.at/Services/Downloads/#oberon">http://www.ssw.uni-linz.ac.at/Services/Downloads/#oberon</a>)</div><div><br></div><div>Version elements allow managing several versions of your module in the same source.</div><div>It can be used to have a Windows and a Unix version of your module in the same source.</div><div>And it can be used to have a plain and a debug version of your module.</div><div><br></div><div>It‘s like conditional compiling in C.</div><div><br></div><div>The elems extension to Texts.Mod (needed by version elems) is not ported to ProjectOberon (yet?)</div><div><br></div><div><div dir="ltr">br<br><div>Jörg</div></div><div dir="ltr"><br><blockquote type="cite">Am 13.07.2020 um 14:38 schrieb peter@easthope.ca:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Andreas,</span><br><span></span><br><span>From: Andreas Pirklbauer <andreas_pirklbauer@yahoo.com></span><br><span>Date: Fri, 14 Feb 2020 16:10:20 +0100</span><br><blockquote type="cite"><span>... module aliases may be useful in some cases. </span><br></blockquote><span></span><br><span>Pardon my curiosity. </span><br><span></span><br><span>Paul Reed mentioned the tidy method of deactivating a module by </span><br><span>aliasing to a stub. The immediate objective was to deactivate test </span><br><span>output. An acceptable use for aliasing?</span><br><span></span><br><span>Without aliasing, a constant can activate or deactivate output. Paul </span><br><span>hinted at risk in that. </span><br><span></span><br><span>Have you another way to switch output? </span><br><span></span><br><span>Thanks, ... P.</span><br><span></span><br><span>-- </span><br><span>https://en.wikibooks.org/wiki/Medical_Machines</span><br><span>https://en.wikibooks.org/wiki/Oberon</span><br><span>Tel: +1 604 670 0140 Bcc: peter at easthope. ca</span><br><span></span><br><span>--</span><br><span>Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems</span><br><span>https://lists.inf.ethz.ch/mailman/listinfo/oberon</span><br></div></blockquote></div></body></html>