Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: comments, The joy of FORTRAN Date: 4 Mar 2025 07:38:41 GMT Lines: 25 Message-ID: References: <59CJO.19674$MoU3.15170@fx36.iad> <1193769225.762545617.347047.peter_flass-yahoo.com@news.eternal-september.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net k1ihyqUwC4T4X/+Qx9YezA8ZWuR1fkDfCf7RU6gxhd2T09K7zc Cancel-Lock: sha1:/TXLVlQJdHtwK72gLJWQKNk4kWo= sha256:q8ZMlS3hXQhtLp22J+XnS+XVta/f/9NO2QWnRA/McOs= User-Agent: Pan/0.160 (Toresk; ) Xref: csiph.com alt.folklore.computers:230323 comp.os.linux.misc:66018 On Mon, 3 Mar 2025 22:58:10 -0500, c186282 wrote: > But you DID have to increment by 'n' fields every time. In 'C' it was > easy to do bit-fields ... so many bits for each kind of data. That > made it even more imperative to keep exact track. Hey, memory used to > be small .... so you PACKED IT IN - no 32 bits to hold 1,2 or 3 > Decimal vals ... just mult by 10 or 100 and int(). Ah, bit fields.. We managed to mix and match. In one context 1 -- law enforcement 2 -- fire 3 -- ems 4 -- animal control but internally it was really 0b0001 -- law enforcement 0b0010 -- fire 0b0100 -- ems 0b1000 -- animal control so if you wanted to configure an incident code to involve both law and animal control it was 9. Try explaining that to the support people.