<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><pre style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre-wrap;" class="">A string enclosed by $ . . . $, as is used in modules Display or Input for example, is called HexString (see ORS.HexString). HexString is a little feature that elegantly addressed a small problem, but it was never intended to be widely used. That’s why it is not published in the language report - which means that it *is* officially not part of the language. But if you know what you are doing, you can - it likely won’t go away. And if it does, well, then you’d notice ;-)</span></pre><pre style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre-wrap;" class="">Andreas</span></pre><pre style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">----------------------------------------------------------------------------------</pre><pre style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre-wrap;" class="">></span><i style="white-space: pre-wrap;" class=""> </i><span style="white-space: pre-wrap;" class=""><i class="">Jörg joerg.straube at <a href="http://iaeth.ch" class="">iaeth.ch</a> </i></span><i style="white-space: pre-wrap;" class="">Mon Apr 24 18:10:34 CEST 2017</i></pre><div class=""></div><div class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">> Officially, the Oberon language only offers expression for constant "array of chars”,</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">> called string constants.<br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">> The constant "array of bytes" you are refering to is a feature of the compiler,</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">> not described in the language as far as I know.
> It is also used eg. in the keyboard driver to translate keyboard strokes to chars.
> br
> Jörg
<br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">----------------------------------------------------------------------------------</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">
><i class=""> Am 24.04.2017 um 17:53 schrieb Tomas Kral <<a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" class="">thomas.kral at email.cz</a>>:
</i>><i class="">
</i>><i class=""> Hi,
</i>><i class="">
</i>><i class=""> I have just discovered this interesting and useful construct, found in
</i>><i class=""> `Display.Mod', defining a pattern.
</i>><i class="">
</i>><i class=""> block := SYSTEM.ADR($0808 FFFF C3C3 C3C3 FFFF$);
</i>><i class="">
</i>><i class=""> pattern = w(byte) h(byte) {raster(byte)}
</i>><i class="">
</i>><i class=""> block* is exported, so can also be used in user modules.
</i>><i class="">
</i>><i class=""> Tomas
</i>><i class=""> --
</i>><i class=""> <a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" class="">Oberon at lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems
</i>><i class=""> <a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" class="">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a></i></pre><div class=""><br class=""></div></div></body></html>