<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Chris<br><br><blockquote type="cite"><div><span>VAR b : BYTE; i : INTEGER;</span><br><span> i := 1000; b := i;</span><br><span></span><br><span>Does it trap for overflow?</span><br></div></blockquote><div><br></div>The compiler does not generate a trap. It moves the lowest byte of i to b. See first IF in ORG.Store.<div><br><blockquote type="cite"><span>Btw. another issue I see with Oberon-07 ist the removal of dynamic </span><br><span>arrays. I cannot imagine how to write for example a string library or </span><br><span>something like that without.</span></blockquote><br></div><div>Would you please explain „dynamic arrays“? Do you miss the low level SYSTEM.NEW(p, n)?</div><div>The modules handling dynamic structures (eg. text editor, network stack or files) do in principle use the same internal scheme: they use chains of blocks of fixed size.</div><div>If you used internally UTF-8 to represent a character of an international string,, you would need another method for character access than a simp<i>le </i>s[10]</div><div><br></div><div>br</div><div>Jörg</div></body></html>