<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 19 June 2018 at 05:59, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I admit, I am guilty of trying to squeeze bits into a smaller space by using bitfields (a feature that feels archaic even in C, anachronistically supported by FB) in Frame and sometimes I give them serious consideration elsewhere (Slices?). But they're bad because bits take the value 0/1 instead of 0/-1.<br></div>Hmm, come to think of it, I could probably define bool as a byte rather than an integer, for space savings, without changing any semantics!<br></div></blockquote><div>Oh, or just use FB's boolean type, which IIRC is one byte in size and takes values 0 and -1.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 19 June 2018 at 05:04, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Amen to that!</div><div><br></div><div>readbits was a wonderful feature in the DOS days when that 640k ceiling was weighing down on me... not so much now when an array of bool bits is so much easier :)<br></div></div><div class="m_6823378408555378224HOEnZb"><div class="m_6823378408555378224h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 18, 2018 at 9:51 AM,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2018-06-18 09:51:51 -0700 (Mon, 18 Jun 2018)<br>
129<br>
Replace Door.bits() with Door.exists, for some wonderful cleanup<br>
<br>
You know what, let's never use readbit/setbit whenever possible<br>
---<br>
U   wip/game.bas<br>
U   wip/loading.rbas<br>
U   wip/mapsubs.bas<br>
U   wip/scriptcommands.bas<br>
U   wip/<a href="http://udts.bi" rel="noreferrer" target="_blank">udts.bi</a><br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>