<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
> So what did Jay recently do? It sounded like he was migrating your code from the Windows implementation to the POSIX implementation.<br><br>I did not. How many times I need to say I didn't touch the Posix code?<br><br><br>We have posix/scroller and win32/scroller.<br>win32/scroller is a copy/edit of posix/scroller.<br>You can hypothetically compile either on either.<br>It is all portable.<br>To alter the appearance, they are different.<br>In the code that made win32/scroller there was some crashing.<br>I fixed that.<br><br><br>To the extent that they are the same, I suggest the<br>two files be merged into one, with "if"s.<br>You know, like, you have approximately three choices<br>in these things.<br>Separate files, #if, and if.<br>But with Modula-3, #if goes away.<br>But you still have "if", depending on what the code looks like.<br><br><br>If the branches are wildly divergent, for some definition of "wild",<br>then separate files are appropriate.<br>If the divergence is small, for some definition of "small",<br>then "if" is preferable.<br><br><br>Depending on the degree, "if" can be confusing.<br>Too man ifs, hard to read the code fast and see what<br>actually runs.<br>Separate files obviously can lead to redundancy.<br><br><br><br>In fact my first fix was to always use the Posix code.<br>Since it worked and didn't crash.<br>But then I fixed the crash instead.<br><br><br> - Jay<br> </body>
</html>