<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Chris,<br>
I did as you said and that works.<br>
<br>
My confusion stems from a difference between V4 and Component
Pascal.<br>
A Component Pascal CHAR is 2 bytes. One must say SHORTCHAR to get 1
byte.<br>
Also I didn't think the compiler would accept (if I had thought of
it) a CHAR<br>
where it specifies a SYSTEM.BYTE. Why in heavens name does V4 Files
even<br>
mention SYSTEM.BYTE?<br>
-Doug<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/28/2016 2:33 AM, Chris Burrows
wrote:<br>
</div>
<blockquote
cite="mid:000701d24962$d77caae0$867600a0$@cfbsoftware.com"
type="cite">
<pre wrap="">Hi Doug,
You don't need to use any SYSTEM facilities or casts in Oberon for this
task.
Replace:
VAR b: SYSTEM.BYTE;
with:
VAR ch: CHAR;
Then you can say:
IF (ch = 0AX) OR (ch = 0DX) THEN ch := " " END;
Regards,
Chris
Chris Burrows
CFB Software
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.astrobe.com">http://www.astrobe.com</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Danforth of the Greenwood</pre>
</body>
</html>