Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Excessive login or logout messages are a sure sign of senility.


devel / comp.lang.c / Re: iso646.h

SubjectAuthor
* iso646.hLawrence D'Oliveiro
+- Re: iso646.hLew Pitcher
+* Re: iso646.hJames Kuyper
|`- Re: iso646.hLawrence D'Oliveiro
`* Re: iso646.hDavid Brown
 +* Re: iso646.hScott Lurndal
 |`* Re: iso646.hLawrence D'Oliveiro
 | `* Re: iso646.hKeith Thompson
 |  `* Re: iso646.hLawrence D'Oliveiro
 |   `* Re: iso646.hKeith Thompson
 |    `* Re: iso646.hLawrence D'Oliveiro
 |     `- Re: iso646.hKaz Kylheku
 `* Re: iso646.hLawrence D'Oliveiro
  +- Re: iso646.hKaz Kylheku
  +* Re: iso646.hBlue-Maned_Hawk
  |`* Re: iso646.hLawrence D'Oliveiro
  | +- Re: iso646.hKaz Kylheku
  | `* Re: iso646.hJanis Papanagnou
  |  `* Re: iso646.hLawrence D'Oliveiro
  |   +- Re: iso646.hJanis Papanagnou
  |   `- Re: iso646.hKaz Kylheku
  +- Re: iso646.hTim Rentsch
  +* Re: iso646.hJanis Papanagnou
  |`* Re: iso646.hLawrence D'Oliveiro
  | `- Re: iso646.hJanis Papanagnou
  +* Re: iso646.hDavid Brown
  |`* Re: iso646.hKaz Kylheku
  | +- Re: iso646.hbart
  | +* Re: iso646.hJanis Papanagnou
  | |+* Re: iso646.hKeith Thompson
  | ||`* Re: iso646.hLawrence D'Oliveiro
  | || +* Re: iso646.hKeith Thompson
  | || |`* Re: iso646.hDavid Brown
  | || | `- Re: iso646.hJanis Papanagnou
  | || +* Re: iso646.hLew Pitcher
  | || |`* Re: iso646.hLawrence D'Oliveiro
  | || | +- Re: iso646.hLew Pitcher
  | || | +* Re: iso646.hKaz Kylheku
  | || | |`- Re: iso646.hChris M. Thomasson
  | || | `- Re: iso646.hScott Lurndal
  | || `- Re: iso646.hKaz Kylheku
  | |`* Re: iso646.hKaz Kylheku
  | | +- Re: iso646.hJanis Papanagnou
  | | `* Re: iso646.hJanis Papanagnou
  | |  `- Re: iso646.hKaz Kylheku
  | `- Re: iso646.hDavid Brown
  +- Re: iso646.hbart
  `* Re: iso646.hMalcolm McLean
   +* Re: iso646.hLew Pitcher
   |+- Re: iso646.hKaz Kylheku
   |+* Re: iso646.hLawrence D'Oliveiro
   ||+* Re: iso646.hKeith Thompson
   |||`* Re: iso646.hLawrence D'Oliveiro
   ||| +* Re: iso646.hKeith Thompson
   ||| |+- Re: iso646.hLawrence D'Oliveiro
   ||| |`- Re: iso646.hMalcolm McLean
   ||| `- Re: iso646.hJanis Papanagnou
   ||`- Re: iso646.hJanis Papanagnou
   |`* C/CPP macro conventions (was Re: iso646.h)Janis Papanagnou
   | `* Re: C/CPP macro conventions (was Re: iso646.h)Kaz Kylheku
   |  +- Re: C/CPP macro conventions (was Re: iso646.h)Janis Papanagnou
   |  +- Re: C/CPP macro conventions (was Re: iso646.h)David Brown
   |  `- Re: C/CPP macro conventions (was Re: iso646.h)Blue-Maned_Hawk
   +* Re: iso646.hbart
   |+* Re: iso646.hScott Lurndal
   ||`* Re: iso646.hJames Kuyper
   || +* Re: iso646.hKalevi Kolttonen
   || |+* Re: iso646.hLawrence D'Oliveiro
   || ||`* Re: iso646.hKaz Kylheku
   || || +* Re: iso646.hKalevi Kolttonen
   || || |`* Re: iso646.hJanis Papanagnou
   || || | `* Re: iso646.hJames Kuyper
   || || |  +* Re: iso646.hJanis Papanagnou
   || || |  |+- Re: iso646.hJanis Papanagnou
   || || |  |+* Re: iso646.hKalevi Kolttonen
   || || |  ||`* Re: iso646.hKalevi Kolttonen
   || || |  || `* Re: iso646.hLawrence D'Oliveiro
   || || |  ||  `- Re: iso646.hDavid Brown
   || || |  |`* Re: iso646.hKeith Thompson
   || || |  | `- Re: iso646.hKalevi Kolttonen
   || || |  +- Re: iso646.hLawrence D'Oliveiro
   || || |  `* Re: iso646.hKaz Kylheku
   || || |   `* Re: iso646.hJames Kuyper
   || || |    +* Re: iso646.hDavid Brown
   || || |    |+* Re: iso646.hJanis Papanagnou
   || || |    ||`* Re: iso646.hDavid Brown
   || || |    || `- Re: iso646.hJanis Papanagnou
   || || |    |`* Re: iso646.hbart
   || || |    | `- Re: iso646.hDavid Brown
   || || |    `- Re: iso646.hTim Rentsch
   || || `- Re: iso646.hJanis Papanagnou
   || |`- Unix shell conditionals (was Re: iso646.h)Janis Papanagnou
   || `* Re: iso646.hScott Lurndal
   ||  +* Re: iso646.hKaz Kylheku
   ||  |`* Re: iso646.hbart
   ||  | `- Re: iso646.hKaz Kylheku
   ||  +- Re: iso646.hKeith Thompson
   ||  `* Re: iso646.hJames Kuyper
   ||   `- Re: iso646.hJanis Papanagnou
   |+* Python (Re: iso646.h)Kalevi Kolttonen
   ||+* Re: Python (Re: iso646.h)bart
   ||+* Re: Python (Re: iso646.h)Keith Thompson
   ||+* Re: Python (Re: iso646.h)Lawrence D'Oliveiro
   ||`- Re: Python (Re: iso646.h)Dan Cross
   |+* Re: iso646.hKeith Thompson
   |`* Re: iso646.hMalcolm McLean
   `* Re: iso646.hLawrence D'Oliveiro

Pages:1234567891011121314151617181920212223242526
Re: iso646.h

<20240124125053.102@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31608&group=comp.lang.c#31608

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.samoylyk.net!newsfeed.xs3.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 21:00:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20240124125053.102@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
<87bk9a7kz0.fsf@nosuchdomain.example.com>
Injection-Date: Wed, 24 Jan 2024 21:00:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b53ada80e44a49509d1cc2e54e523b05";
logging-data="2063193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iXdqQ1hEpWtFOPpfNi0nVH46SXRHhptA="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:KBKSp5y7BYuR+cLKJJQ3EMb3HeY=
 by: Kaz Kylheku - Wed, 24 Jan 2024 21:00 UTC

On 2024-01-24, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
> [...]
>> These days, it even supports object oriented code.
>> FWIW, the last ISO COBOL language standard was issued in 2023.
>
> ADD 1 TO COBOL GIVING COBOL

Oh, oh, I have a new one to this oldie:

ADD 100 TO PITCH OF COBOL

(100 cents in a semitone.)

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<uortq8$1v575$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31609&group=comp.lang.c#31609

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 13:00:55 -0800
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uortq8$1v575$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uopcd0$1f17i$4@dont-email.me> <uorpir$1ufp8$1@dont-email.me>
<uUdsN.304853$xHn7.126105@fx14.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Jan 2024 21:00:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="eb65a73d5fc6fb0010bcf2681c155871";
logging-data="2069733"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oXpO+XvRBbVdW0rvhsV5So2cgTse8Gz8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CObJBfs9hlB1Ar4GNTmdwdXK7xM=
Content-Language: en-US
In-Reply-To: <uUdsN.304853$xHn7.126105@fx14.iad>
 by: Chris M. Thomasson - Wed, 24 Jan 2024 21:00 UTC

On 1/24/2024 11:52 AM, Scott Lurndal wrote:
> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
>> On 23/01/2024 21:51, Lawrence D'Oliveiro wrote:
>>> On Tue, 23 Jan 2024 16:32:09 +0000, Malcolm McLean wrote:
>>>
>>>> It breaks the rule that, in C, variables and functions are alphnumeric,
>>>> whilst operators are symbols.
>>>
>>> Where is there such a “rule”?
>>>
>> Valid function names have to begin with an alphabetical symbol or
>> (annoyingly for me) an underscore, as do variables. They may not contain
>> non-alphanumerical symbols except for underscore
>
> Dollar symbol ($) is an allowed extension.
>

Big time. For instance Relacy makes use of $:

https://www.1024cores.net/home/relacy-race-detector

;^)

Re: iso646.h

<uortri$1v0qv$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31610&group=comp.lang.c#31610

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 22:01:38 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uortri$1v0qv$2@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <GVTrN.46982$U1cc.26176@fx04.iad>
<uop3ml$1d8ao$2@dont-email.me> <uop7p7$1eahb$1@dont-email.me>
<uopcfr$1f17i$6@dont-email.me> <20240123140604.828@kylheku.com>
<uopf3q$1fgi6$1@dont-email.me> <uoqgmf$1nog8$3@dont-email.me>
<uorh4g$1sonk$2@dont-email.me> <uorhuv$1t7db$1@dont-email.me>
<uoriir$1tahm$1@dont-email.me> <uorli8$1tqmh$1@dont-email.me>
<uorr5f$1ulvh$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Jan 2024 21:01:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9e4b71ab5c8701bcf3acfe2ec4d9eb90";
logging-data="2065247"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SI2yx8MCx3a24fP9ziOjPMUM4rmkXzVQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ingYdEYRTpIqQ+kaX8TNJhXfjQk=
In-Reply-To: <uorr5f$1ulvh$3@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 24 Jan 2024 21:01 UTC

On 24/01/2024 21:15, Lawrence D'Oliveiro wrote:
> On Wed, 24 Jan 2024 18:40:08 -0000 (UTC), Kalevi Kolttonen wrote:
>
>> "Logical disjunction is usually short-circuited ...
>
> I wonder why that shouldn’t apply to anything else. E.g. in
>
> a × (b + c)
>
> if “a” evaluates to zero, why not avoid the computation of “b + c” and
> just return zero as the value of the expression?

Compilers both can and do use such optimisations:

<https://godbolt.org/z/bhPMo8WPW>

int test(int a, int b, int c) {
if (a == 0) {
return a * (b + c);
} else {
return a * (b + c);
}
}

compiles (with gcc -O2) to :

test:
mov eax, edi
test edi, edi
je .L2
add esi, edx
imul eax, esi
..L2:
ret

As long as there are no side-effects evaluating "b" and "c", then if the
compiler knows "a" is 0, it can return 0 without doing the sums.

Re: iso646.h

<20240124130305.801@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31611&group=comp.lang.c#31611

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 21:08:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <20240124130305.801@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uont40$16rlc$1@dont-email.me>
<20240123131544.17@kylheku.com> <uoqfl1$1nk81$1@dont-email.me>
<20240124084454.9@kylheku.com> <uorge6$1svji$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Jan 2024 21:08:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b53ada80e44a49509d1cc2e54e523b05";
logging-data="2063193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kbc8qu859YX9KrZ8dTsTQMY5+1dWtFfg="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:P05VMq0g07Bh35NSh7OOTmos8WE=
 by: Kaz Kylheku - Wed, 24 Jan 2024 21:08 UTC

On 2024-01-24, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> On 24.01.2024 17:56, Kaz Kylheku wrote:
>>
>> The Wikipedia page on it is quite good.
>
> The German Wikipedia has a table that is better legible IMO
> https://de.wikipedia.org/wiki/ISO_646

That character 0x24 is funny. Every country listed in that table
just has it as $. But the IRV has to have ¤?

Who the hell needs a symbol indicating unspecified currency?

How about one for unspecified temperature units?

100⁰B ("degrees bullshit")

Is that freezing? Room temperature? Solder-melting? Who knows ...

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<20240124130851.640@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31612&group=comp.lang.c#31612

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 21:11:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <20240124130851.640@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <GVTrN.46982$U1cc.26176@fx04.iad>
<uop3ml$1d8ao$2@dont-email.me> <uop7p7$1eahb$1@dont-email.me>
<uopcfr$1f17i$6@dont-email.me> <20240123140604.828@kylheku.com>
<uopf3q$1fgi6$1@dont-email.me> <uoqgmf$1nog8$3@dont-email.me>
<uorh4g$1sonk$2@dont-email.me>
Injection-Date: Wed, 24 Jan 2024 21:11:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b53ada80e44a49509d1cc2e54e523b05";
logging-data="2063193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xbE6fsdSPIteM3w3snOb16R9NOA5Djlk="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:9REkrjlwseBvS8iftvCU6Q0r7z4=
 by: Kaz Kylheku - Wed, 24 Jan 2024 21:11 UTC

On 2024-01-24, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
> On 1/24/24 03:10, Janis Papanagnou wrote:
>> On 23.01.2024 23:37, Kalevi Kolttonen wrote:
>>>
>>> [...] I am
>>> pretty sure that not all computer languages
>>> provide guarantees about the order of evaluation.
>>
>> What?!
>
> Could you explain what surprises you about that statement? As quoted,
> it's a general statement which includes C: "Except as specified later,
> side effects and value computations of subexpressions are unsequenced."

Pretty much any language has to guarantee *something* about
order of evaluation, somewhere.

Like for instance that calculating output is not possible before a
needed input is available.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<20240124131351.859@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31613&group=comp.lang.c#31613

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 21:20:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <20240124131351.859@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uont40$16rlc$1@dont-email.me>
<20240123131544.17@kylheku.com> <uoqfl1$1nk81$1@dont-email.me>
<87r0i67mff.fsf@nosuchdomain.example.com> <uorqtl$1ulvh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Jan 2024 21:20:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b53ada80e44a49509d1cc2e54e523b05";
logging-data="2063193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5wIYvNIMW3qrYvkBvRgy7vvfuaM959to="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:fF10i+oo4KiqO3avKVeWvk5v3Cc=
 by: Kaz Kylheku - Wed, 24 Jan 2024 21:20 UTC

On 2024-01-24, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Wed, 24 Jan 2024 07:58:44 -0800, Keith Thompson wrote:
>
>> Trigraphs, digraphs, and <iso646.h> were all introduced to support
>> systems that *don't* support the full ASCII character set.
>
> Where is there a national character set that doesn’t support the symbols
> for which iso646.h introduces synonyms?

See table in German Wikipedia page found by Janis

https://de.wikipedia.org/wiki/ISO_646#Aufbau

Let me reproduce that here:

ISO 646-IRV # ¤ @ [ \ ] ^ ` { | } ~
Deutschland # $ § Ä Ö Ü ^ ` ä ö ü ß
Schweiz ù $ à é ç ê î ô ä ö ü û
USA (ASCII) # $ @ [ \ ] ^ ` { | } ~
Großbritannien £ $ @ [ \ ] ^ ` { | } ~
Frankreich £ $ à ° ç § ^ ` é ù è ¨
Kanada # $ à â ç ê î ô é ù è û
Finnland # $ @ Ä Ö Å Ü é ä ö å ü
Norwegen # $ @ Æ Ø Å ^ ` æ ø å ~
Schweden # $ É Ä Ö Å Ü é ä ö å ü
Italien £ $ § ° ç é ^ ù à ò ù ì
Niederlande £ $ ¾ ÿ ½ | ^ ` ¨ ƒ ¼ ´
Spanien £ $ § ¡ Ñ ¿ ^ ` ° ñ ç ~
Portugal # $ @ Ã Ç Õ ^ ` ã ç õ ~

These are 7 bit codes, that are essentially variations on ASCII,
distinct from ISO-8859 (a.k.a. "ISO Latin").

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<xUfsN.270635$PuZ9.57276@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31614&group=comp.lang.c#31614

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me> <uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me> <uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com> <uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me> <uorrgh$1ulvh$6@dont-email.me>
Lines: 21
Message-ID: <xUfsN.270635$PuZ9.57276@fx11.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 24 Jan 2024 22:09:33 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 24 Jan 2024 22:09:33 GMT
X-Received-Bytes: 1596
 by: Scott Lurndal - Wed, 24 Jan 2024 22:09 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Wed, 24 Jan 2024 14:17:04 -0000 (UTC), Lew Pitcher wrote:
>
>> and, yes, COBOL programmers are still in demand, mostly by financial
>> institutions that have hundreds of millions of lines of COBOL code to
>> maintain.
>
>I suspect a lot of those institutions have already gone out of business,
>or are close to going out of business. And the amounts they have to pay
>COBOL programmers to maintain their code are hastening that end.
>
>> Are you certain that you want your taxes to be calculated in
>> floatingpoint? ;-)
>
>How else would you handle compound interest?

Fixed point arithmetic, of course. E.g. for
currency, work with 'mils' and round (using
bankers rounding) the result to the desired
precision (e.g. cents).

Re: iso646.h

<SXfsN.270636$PuZ9.117836@fx11.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31615&group=comp.lang.c#31615

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me> <uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me> <uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com> <uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me> <87bk9a7kz0.fsf@nosuchdomain.example.com> <20240124125053.102@kylheku.com>
Lines: 123
Message-ID: <SXfsN.270636$PuZ9.117836@fx11.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 24 Jan 2024 22:13:06 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 24 Jan 2024 22:13:06 GMT
X-Received-Bytes: 5975
 by: Scott Lurndal - Wed, 24 Jan 2024 22:13 UTC

Kaz Kylheku <433-929-6894@kylheku.com> writes:
>On 2024-01-24, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>> [...]
>>> These days, it even supports object oriented code.
>>> FWIW, the last ISO COBOL language standard was issued in 2023.
>>
>> ADD 1 TO COBOL GIVING COBOL
>
>Oh, oh, I have a new one to this oldie:
>
>ADD 100 TO PITCH OF COBOL
>
>(100 cents in a semitone.)

?LI SYSTEM/OPERATOR
?COMPILE STREK COBOL LIB MEM + 300.
?DATA CARD
$SET CODE
IDENTIFICATION DIVISION.
PROGRAM-ID. STREK.
AUTHOR. KURT WILHELM.
INSTALLATION. OAKLAND UNIVERSITY.
DATE-WRITTEN. COMPLETED SEPTEMBER 1, 1979.
*
*******************************************************
* STAR_TREK SIMULATES AN OUTER SPACE ADVENTURE GAME *
* ON A REMOTE TERMINAL. THE USER COMMANDS THE U.S.S. *
* ENTERPRISE, AND THRU VARIOUS OFFENSIVE AND DEFEN- *
* SIVE COMMANDS, TRAVELS THROUGHOUT THE GALAXY ON A *
* MISSION TO DESTROY ALL KLINGONS, WHICH ALSO MANEU- *
* VER AND FIRE ON THE ENTERPRISE. *
*******************************************************
*

ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER. V-380.
OBJECT-COMPUTER. V-300.

DATA DIVISION.
WORKING-STORAGE SECTION.
01 EOF-FLAG PIC X VALUE "N".
01 STAR-TABLE.
05 ROW OCCURS 42 TIMES.
10 KOLUMN PIC X OCCURS 42 TIMES.
01 RCTR PIC 99.
01 KCTR PIC 99.
01 COMMANDS-X.
05 COMMAND PIC X(3).
88 NAVIGATE VALUE "NAV".
88 PHASERS VALUE "PHA".
88 TORPEDO VALUE "TOR".
88 SHIELDS VALUE "DEF".
88 DOCK VALUE "DOC".
88 LIB-COM VALUE "COM".
88 NAV-C VALUE "NAV".
88 PHA-C VALUE "PHA".
88 TOR-C VALUE "TOR".
88 DEF-C VALUE "DEF".
88 DOC-C VALUE "DOC".
88 COM-C VALUE "COM".
05 ENTRY1 PIC 9.
05 ENTRY2 PIC 9.
01 MINI-TABLE.
05 MROW OCCURS 14 TIMES.
10 MCOL PIC X OCCURS 14 TIMES.
01 RCNTR PIC 99.
01 KCNTR PIC 99.
01 X PIC 999.
01 Y PIC 999.
01 WS-DATE PIC 9(4) COMP.
01 TIME-FLAG PIC 9.
88 TIME-FLAG-SET VALUE 1.
01 MAX-NO PIC 999.
01 HQ1 PIC 9.
01 HQ2 PIC 9.
01 T-STORE PIC 9(4) COMP.
01 ATTACK-FLAG PIC 9.
88 KLINGONS-ATTACKING VALUE 1.
....
MOVE 0 TO TOO-LATE-FLAG.
DISPLAY " ".
DISPLAY " *STAR TREK* ".
DISPLAY " ".
DISPLAY "CONGRATULATIONS - YOU HAVE JUST BEEN APPOINTED ".
DISPLAY "CAPTAIN OF THE U.S.S. ENTERPRISE. ".
DISPLAY " ".
DISPLAY "PLEASE ENTER YOUR NAME, CAPTAIN ".
ACCEPT NAME-X.
DISPLAY "AND YOUR SKILL LEVEL (1-4)? ".
ACCEPT SKILL-LEV.
IF SKILL-LEV NOT NUMERIC OR SKILL-LEV < 1 OR SKILL-LEV > 4
DISPLAY "INVALID SKILL LEVEL "
DISPLAY "ENTER YOUR SKILL LEVEL (1-4) "
ACCEPT SKILL-LEV
IF SKILL-LEV NOT NUMERIC OR SKILL-LEV < 1 OR SKILL-LEV >
- 4
MOVE 1 TO SKILL-LEV
DISPLAY "YOUR SKILL LEVEL MUST BE 1 ".
MOVE 0 TO VAB5.
MOVE 0 TO VAB6.
INSPECT NAME-X TALLYING VAB6 FOR ALL "A".
INSPECT NAME-X TALLYING VAB6 FOR ALL "E".
ADD 1 TO VAB6.
INSPECT NAME-X TALLYING VAB5 FOR ALL " ".
COMPUTE VAB6 ROUNDED = (VAB5 / 1.75) + (VAB6 / SKILL-LEV).
COMPUTE K-OR ROUNDED = (SKILL-LEV * 4) + VAB6 + 5.
COMPUTE VAB1 = 9 - SKILL-LEV.
COMPUTE VAB2 ROUNDED = (SKILL-LEV / 3) * K-OR.
MOVE K-OR TO KLINGONS.
MOVE VAB1 TO VAE1.
ACCEPT WS-TIME FROM TIME.
MOVE WS-MIN OF WS-TIME TO DS-MIN.
MOVE WS-SEC OF WS-TIME TO DS-SEC.
MOVE DS-TABLE TO S-DATE.
ADD 16 TO DS-MIN.
IF DS-MIN > 59
MOVE 1 TO TIME-FLAG
ELSE
MOVE 0 TO TIME-FLAG.
MOVE DS-TABLE TO DS-DATE.
....

Re: iso646.h

<20240124151605.453@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31616&group=comp.lang.c#31616

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 23:20:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <20240124151605.453@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
Injection-Date: Wed, 24 Jan 2024 23:20:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="64d741b4aedd1f2c9b80077e3ef47e46";
logging-data="2108251"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1899ma/3pTCmas8FcsaCq+9k5JVx5zf3nA="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:+WGjAWweF2t391v7ot8fFbPrfos=
 by: Kaz Kylheku - Wed, 24 Jan 2024 23:20 UTC

On 2024-01-24, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
> Are you certain that you want your taxes to be calculated in
> floatingpoint? ;-)

I've never calculated my taxes in anything but floating-point.

The Canada Revenue Agency will not refund or charge amounts less than a
couple of dollars so even if floating-point introduced errors (which it
doesn't) it wouldn't matter.

Ordinary personal accounting, and small business accounting, can be
done entirely in IEEE 754 double, if used correctly. Or else using
integers for the ledger values, and taking at trip to floating point
for percentage calculations and such, which get rounded back to the
rational representation.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<uos848$20hsp$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31618&group=comp.lang.c#31618

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.samoylyk.net!nyheter.lysator.liu.se!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 15:56:56 -0800
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <uos848$20hsp$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
<20240124151605.453@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 24 Jan 2024 23:56:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f23c2054aa5a15fad4661d44b257fda";
logging-data="2115481"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18reFGGkXoA1RgA2TwsQUYPmN43HwYv9E0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ffjY5aoQwH5vA4N0jzvORmv73y4=
In-Reply-To: <20240124151605.453@kylheku.com>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 24 Jan 2024 23:56 UTC

On 1/24/2024 3:20 PM, Kaz Kylheku wrote:
> On 2024-01-24, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>> Are you certain that you want your taxes to be calculated in
>> floatingpoint? ;-)
>
> I've never calculated my taxes in anything but floating-point.

At what precision? ;^)

>
> The Canada Revenue Agency will not refund or charge amounts less than a
> couple of dollars so even if floating-point introduced errors (which it
> doesn't) it wouldn't matter.
>
> Ordinary personal accounting, and small business accounting, can be
> done entirely in IEEE 754 double, if used correctly. Or else using
> integers for the ledger values, and taking at trip to floating point
> for percentage calculations and such, which get rounded back to the
> rational representation.
>

Re: iso646.h

<uos99t$20nr3$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31621&group=comp.lang.c#31621

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 00:17:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <uos99t$20nr3$3@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uont40$16rlc$1@dont-email.me>
<20240123131544.17@kylheku.com> <uoqfl1$1nk81$1@dont-email.me>
<87r0i67mff.fsf@nosuchdomain.example.com> <uorqtl$1ulvh$1@dont-email.me>
<uorrms$1rqu0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 00:17:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a52c38d7852fe5be8309e2b943f36561";
logging-data="2121571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fhMAVDY8sEoCBSpa+QclJ"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:XifK0O8JWhsb4rJwjpI6mwaQox0=
 by: Lawrence D'Oliv - Thu, 25 Jan 2024 00:17 UTC

On Wed, 24 Jan 2024 20:25:00 -0000 (UTC), Lew Pitcher wrote:

> On Wed, 24 Jan 2024 20:11:33 +0000, Lawrence D'Oliveiro wrote:
>
>> Where is there a national character set that doesn’t support the
>> symbols for which iso646.h introduces synonyms?
>
> EBCDIC-US, for one. It lacks the CIRCUMFLEX (^) character.

Were any of the EBCDICs official standards anywhere in the world, outside
of IBM?

Thinking about what the “A” in “ASCII” stands for ...

Re: iso646.h

<uosa2f$20nr3$8@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31622&group=comp.lang.c#31622

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 00:30:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uosa2f$20nr3$8@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <uoqvas$1q40p$1@dont-email.me>
<uor4rf$1r10t$1@dont-email.me> <uorolm$1uaut$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 00:30:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a52c38d7852fe5be8309e2b943f36561";
logging-data="2121571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+837Zt3aJhQOZdQCMz+59m"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:AfCl0hN4pDTpD427gJqJx5Vb4BU=
 by: Lawrence D'Oliv - Thu, 25 Jan 2024 00:30 UTC

On Wed, 24 Jan 2024 19:33:09 +0000, Malcolm McLean wrote:

> I've discussed this ad infinitum with people who don't really understand
> what the term "function" means. Anththing that maps one set to another
> set such that there is one and only one mapping from each member if the
> struture set to the result set is mathematically a "function".
>
> Sizeof clearly counts.

It does in the mathematical sense. But in the C sense, a “function” is a
block of code which is called at runtime with zero or more arguments and
returns a result (which might be void). It can also have side-effects on
the machine state.

It helps the discussion to be clear what your terms mean. Otherwise the
people you are arguing with have a right to be indignant at what they
might perceive to be wilful obtuseness.

Re: iso646.h

<uos9qs$20nr3$7@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31623&group=comp.lang.c#31623

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 00:26:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <uos9qs$20nr3$7@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uopcd0$1f17i$4@dont-email.me> <uorpir$1ufp8$1@dont-email.me>
<uUdsN.304853$xHn7.126105@fx14.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 00:26:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a52c38d7852fe5be8309e2b943f36561";
logging-data="2121571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DJB//KRlAgs57ykNCWj+m"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:G5fJWkr5XYrOFfPypMxO+1dWfoU=
 by: Lawrence D'Oliv - Thu, 25 Jan 2024 00:26 UTC

On Wed, 24 Jan 2024 19:52:58 GMT, Scott Lurndal wrote:

> Dollar symbol ($) is an allowed extension.

I wonder if we have DEC to thank for that ... ?

Re: COBOL (was Re: iso646.h)

<uosau7$20nr3$9@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31624&group=comp.lang.c#31624

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: COBOL (was Re: iso646.h)
Date: Thu, 25 Jan 2024 00:44:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uosau7$20nr3$9@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
<87bk9a7kz0.fsf@nosuchdomain.example.com> <20240124125053.102@kylheku.com>
<SXfsN.270636$PuZ9.117836@fx11.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 00:44:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a52c38d7852fe5be8309e2b943f36561";
logging-data="2121571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QjLUvIi5REVqtBeTtELWJ"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:S4oGPgfKByvCxOLnZVGd+mNQtK0=
 by: Lawrence D'Oliv - Thu, 25 Jan 2024 00:44 UTC

On Wed, 24 Jan 2024 22:13:06 GMT, Scott Lurndal wrote:

> 01 STAR-TABLE.
> 05 ROW OCCURS 42 TIMES.
> 10 KOLUMN PIC X OCCURS 42 TIMES.
> ...
> 01 MINI-TABLE.
> 05 MROW OCCURS 14 TIMES.
> 10 MCOL PIC X OCCURS 14 TIMES.

*Sigh* Imagine a language without named constants.

> DISPLAY " ".
> DISPLAY " *STAR TREK* ".
> DISPLAY " ".
> DISPLAY "CONGRATULATIONS - YOU HAVE JUST BEEN APPOINTED ".
> DISPLAY "CAPTAIN OF THE U.S.S. ENTERPRISE. ".
> DISPLAY " ".
> DISPLAY "PLEASE ENTER YOUR NAME, CAPTAIN ".
> ACCEPT NAME-X.

And with crummy string handling and I/O.

Re: iso646.h

<uosb91$1rqu0$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31625&group=comp.lang.c#31625

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 00:50:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <uosb91$1rqu0$3@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uont40$16rlc$1@dont-email.me>
<20240123131544.17@kylheku.com> <uoqfl1$1nk81$1@dont-email.me>
<87r0i67mff.fsf@nosuchdomain.example.com> <uorqtl$1ulvh$1@dont-email.me>
<uorrms$1rqu0$1@dont-email.me> <uos99t$20nr3$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 00:50:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="47e240d0b49b53f4a1f00368250767c6";
logging-data="1960896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/f4Uq5nPMwK4EgKWOdYJfdXGp+4UUrgXI="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:UY/om1ti8+ehSuEaACDb9S3BgYE=
 by: Lew Pitcher - Thu, 25 Jan 2024 00:50 UTC

On Thu, 25 Jan 2024 00:17:01 +0000, Lawrence D'Oliveiro wrote:

> On Wed, 24 Jan 2024 20:25:00 -0000 (UTC), Lew Pitcher wrote:
>
>> On Wed, 24 Jan 2024 20:11:33 +0000, Lawrence D'Oliveiro wrote:
>>
>>> Where is there a national character set that doesn’t support the
>>> symbols for which iso646.h introduces synonyms?
>>
>> EBCDIC-US, for one. It lacks the CIRCUMFLEX (^) character.
>
> Were any of the EBCDICs official standards anywhere in the world, outside
> of IBM?

Who cares? The better questions would be:
- Are there C compilers for IBM mainframe systems that use EBCDIC?
Yes, indeed there are.
- Is IBM represented on the ISO C Standards committee?
Yes, it is.

> Thinking about what the “A” in “ASCII” stands for ...

Thinking of what the "E" in "ECMA-6" stands for
(https://ecma-international.org/publications-and-standards/standards/ecma-6/)
:-)

--
Lew Pitcher
"In Skills We Trust"

Re: iso646.h

<uosbci$211eh$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31626&group=comp.lang.c#31626

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (bart)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 00:52:33 +0000
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <uosbci$211eh$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <uoqvas$1q40p$1@dont-email.me>
<uor4rf$1r10t$1@dont-email.me> <87frym7l3p.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 25 Jan 2024 00:52:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a096036155a64ccdd421fcbea0eaa216";
logging-data="2131409"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/afwnP0kt1+QH4YnZTnWRcJ9i3nhlH4Ns="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JuFEkQ5783Fz+Zy70scR4uDs6EY=
In-Reply-To: <87frym7l3p.fsf@nosuchdomain.example.com>
Content-Language: en-GB
 by: bart - Thu, 25 Jan 2024 00:52 UTC

On 24/01/2024 16:27, Keith Thompson wrote:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> (It could not have been added as "**", because - as Keith said in
>> another post - "x ** y" already has a meaning in C. While I believe
>> it would be possible to distinguish the uses based on the type of "y",
>> other than for the literal 0, having "x ** y" mean two /completely/
>> different things depending on the type of "y" would not be a good idea
>> for C.)
>
> The problem with a "**" exponentation operator is lexical. It's common
> to have two consecutive unary "*" operators in declarations and
> expression:
> char **argv;
> char c = **argv;
> Adding a "**" operator would have made the above invalid due to the
> "maximal munch" rule, before the type of the argument is even
> considered.
>
> See also x+++++y, which might be intended as x++ + ++y, but is scanned
> as x ++ ++ + y, a syntax error.
>
> C could have added "**" very early, but then we'd have to write
> "* *argv" or "*(*argv)".

Given the other syntax decisions, probably the best bet would have been
to have a named /operator/ called 'pow'. With two operatands, using
function-like syntax 'pow(x, y)' would look better than 'x pow y'.

This could then be defined over float, double, int and friends.

You wouldn't be able to have a reference to it as you can with a
function, but why is that so important? You can't have reference to the
multiply operator either!

Re: COBOL (was Re: iso646.h)

<uosbdc$210t7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31627&group=comp.lang.c#31627

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: COBOL (was Re: iso646.h)
Date: Thu, 25 Jan 2024 00:53:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uosbdc$210t7$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
<uorrgh$1ulvh$6@dont-email.me> <uors29$1rqu0$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 00:53:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a52c38d7852fe5be8309e2b943f36561";
logging-data="2130855"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Yug4FGFB5rOYllx3IBEPt"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:X/yLotQfnS+ce/qClrpjmcxOYuk=
 by: Lawrence D'Oliv - Thu, 25 Jan 2024 00:53 UTC

On Wed, 24 Jan 2024 20:31:05 -0000 (UTC), Lew Pitcher wrote:

> On Wed, 24 Jan 2024 20:21:37 +0000, Lawrence D'Oliveiro wrote:
>
>> I suspect a lot of those institutions have already gone out of
>> business, or are close to going out of business.
>
> And who do /you/ bank with?

Are you talking about the bank I originally signed up with, or the one
that acquired it?

Even if both of them were making heavy use of COBOL, what was formerly two
separate COBOL installations is now just one COBOL installation.

So whichever way you look at it, COBOL usage is inevitably shrinking.

Re: iso646.h

<uosc9g$213s3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31628&group=comp.lang.c#31628

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Wed, 24 Jan 2024 17:07:59 -0800
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uosc9g$213s3$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <uoqvas$1q40p$1@dont-email.me>
<uor4rf$1r10t$1@dont-email.me> <87frym7l3p.fsf@nosuchdomain.example.com>
<uosbci$211eh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 01:08:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f23c2054aa5a15fad4661d44b257fda";
logging-data="2133891"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jnX4bg+G8Np4uimHI1reopOJ+B5YYLV8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:O0pILslbG2db7TQLPHr4S0CxDgc=
Content-Language: en-US
In-Reply-To: <uosbci$211eh$1@dont-email.me>
 by: Chris M. Thomasson - Thu, 25 Jan 2024 01:07 UTC

On 1/24/2024 4:52 PM, bart wrote:
> On 24/01/2024 16:27, Keith Thompson wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>> [...]
>>> (It could not have been added as "**", because - as Keith said in
>>> another post - "x ** y" already has a meaning in C.  While I believe
>>> it would be possible to distinguish the uses based on the type of "y",
>>> other than for the literal 0, having "x ** y" mean two /completely/
>>> different things depending on the type of "y" would not be a good idea
>>> for C.)
>>
>> The problem with a "**" exponentation operator is lexical.  It's common
>> to have two consecutive unary "*" operators in declarations and
>> expression:
>>      char **argv;
>>      char c = **argv;
>> Adding a "**" operator would have made the above invalid due to the
>> "maximal munch" rule, before the type of the argument is even
>> considered.
>>
>> See also x+++++y, which might be intended as x++ + ++y, but is scanned
>> as x ++ ++ + y, a syntax error.
>>
>> C could have added "**" very early, but then we'd have to write
>> "* *argv" or "*(*argv)".
>
> Given the other syntax decisions, probably the best bet would have been
> to have a named /operator/ called 'pow'. With two operatands, using
> function-like syntax 'pow(x, y)' would look better than 'x pow y'.
>
> This could then be defined over float, double, int and friends.
>
> You wouldn't be able to have a reference to it as you can with a
> function, but why is that so important? You can't have reference to the
> multiply operator either!
>
>

Would p * p * p * p be pow(p, 4)? ;^)

Re: iso646.h

<20240124170712.767@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31629&group=comp.lang.c#31629

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.samoylyk.net!nyheter.lysator.liu.se!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 01:23:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <20240124170712.767@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uont40$16rlc$1@dont-email.me>
<20240123131544.17@kylheku.com> <uoqfl1$1nk81$1@dont-email.me>
<87r0i67mff.fsf@nosuchdomain.example.com> <uorqtl$1ulvh$1@dont-email.me>
<uorrms$1rqu0$1@dont-email.me> <uos99t$20nr3$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jan 2024 01:23:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="64d741b4aedd1f2c9b80077e3ef47e46";
logging-data="2138446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8vP96Hh8kztrSg0THXDtOaiowPamvSds="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:669YdEexrPRMfsUsyQ5LR9d9jss=
 by: Kaz Kylheku - Thu, 25 Jan 2024 01:23 UTC

On 2024-01-25, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Wed, 24 Jan 2024 20:25:00 -0000 (UTC), Lew Pitcher wrote:
>
>> On Wed, 24 Jan 2024 20:11:33 +0000, Lawrence D'Oliveiro wrote:
>>
>>> Where is there a national character set that doesn’t support the
>>> symbols for which iso646.h introduces synonyms?
>>
>> EBCDIC-US, for one. It lacks the CIRCUMFLEX (^) character.
>
> Were any of the EBCDICs official standards anywhere in the world, outside
> of IBM?

Let's make a song!

(To the tune of Mozart, K265).

A, B, C, D, E-F-G-H, I

dead-space plus/minus, J, K, L-M-N-O-Pie

R, dead-space, tilde, S, T-U-V

A-I-X-Sux, Y use System Z?

I almost know by ebsy-dickee-dee.

Sing "To hell with IBM!" with me.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: COBOL (was Re: iso646.h)

<20240124172400.665@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31630&group=comp.lang.c#31630

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: COBOL (was Re: iso646.h)
Date: Thu, 25 Jan 2024 01:24:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <20240124172400.665@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
<uorrgh$1ulvh$6@dont-email.me> <uors29$1rqu0$2@dont-email.me>
<uosbdc$210t7$1@dont-email.me>
Injection-Date: Thu, 25 Jan 2024 01:24:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="64d741b4aedd1f2c9b80077e3ef47e46";
logging-data="2138446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1dQSAG4tHI/edgUINZ7J4Dz70ya5uZrM="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:g79eMUNSqK6ra9UiyfUDlTGHhbk=
 by: Kaz Kylheku - Thu, 25 Jan 2024 01:24 UTC

On 2024-01-25, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> Even if both of them were making heavy use of COBOL, what was formerly two
> separate COBOL installations is now just one COBOL installation.
>
> So whichever way you look at it, COBOL usage is inevitably shrinking.

Only if the two merged COBOLS aren't larger than the original two
combined.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<20240124172501.360@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31631&group=comp.lang.c#31631

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: iso646.h
Date: Thu, 25 Jan 2024 01:25:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <20240124172501.360@kylheku.com>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uopcd0$1f17i$4@dont-email.me> <uorpir$1ufp8$1@dont-email.me>
<uUdsN.304853$xHn7.126105@fx14.iad> <uos9qs$20nr3$7@dont-email.me>
Injection-Date: Thu, 25 Jan 2024 01:25:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="64d741b4aedd1f2c9b80077e3ef47e46";
logging-data="2138446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eA7ozIsGlZNMuky6YDQJkPP82qkQ6EkA="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:gptZgy1HoDhJ84obGXBBXW4INWk=
 by: Kaz Kylheku - Thu, 25 Jan 2024 01:25 UTC

On 2024-01-25, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Wed, 24 Jan 2024 19:52:58 GMT, Scott Lurndal wrote:
>
>> Dollar symbol ($) is an allowed extension.
>
> I wonder if we have DEC to thank for that ... ?

Perhaps. You have to follow the money to find out where that came from.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: iso646.h

<zTisN.188516$vFZa.152336@fx13.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31632&group=comp.lang.c#31632

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: iso646.h
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me> <uomjfr$sopf$1@dont-email.me> <uont40$16rlc$1@dont-email.me> <20240123131544.17@kylheku.com> <uoqfl1$1nk81$1@dont-email.me> <87r0i67mff.fsf@nosuchdomain.example.com> <uorqtl$1ulvh$1@dont-email.me> <uorrms$1rqu0$1@dont-email.me> <uos99t$20nr3$3@dont-email.me>
Lines: 22
Message-ID: <zTisN.188516$vFZa.152336@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 25 Jan 2024 01:33:19 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 25 Jan 2024 01:33:19 GMT
X-Received-Bytes: 1666
 by: Scott Lurndal - Thu, 25 Jan 2024 01:33 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Wed, 24 Jan 2024 20:25:00 -0000 (UTC), Lew Pitcher wrote:
>
>> On Wed, 24 Jan 2024 20:11:33 +0000, Lawrence D'Oliveiro wrote:
>>
>>> Where is there a national character set that doesn’t support the
>>> symbols for which iso646.h introduces synonyms?
>>
>> EBCDIC-US, for one. It lacks the CIRCUMFLEX (^) character.
>
>Were any of the EBCDICs official standards anywhere in the world, outside
>of IBM?

Defacto within the particular manufacturer, yes.

>
>Thinking about what the “A” in “ASCII” stands for ...

Hard to tell with all the unreadable UTF-8 :-)

I believe it was the caret that printed as the EBCDIC 'not' �
character when printed on an EBCDIC printer.

Re: COBOL (was Re: iso646.h)

<cXisN.134975$taff.87042@fx41.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31633&group=comp.lang.c#31633

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: COBOL (was Re: iso646.h)
Newsgroups: comp.lang.c
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me> <uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me> <uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com> <uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me> <87bk9a7kz0.fsf@nosuchdomain.example.com> <20240124125053.102@kylheku.com> <SXfsN.270636$PuZ9.117836@fx11.iad> <uosau7$20nr3$9@dont-email.me>
Lines: 46
Message-ID: <cXisN.134975$taff.87042@fx41.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 25 Jan 2024 01:37:12 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 25 Jan 2024 01:37:12 GMT
X-Received-Bytes: 2602
 by: Scott Lurndal - Thu, 25 Jan 2024 01:37 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Wed, 24 Jan 2024 22:13:06 GMT, Scott Lurndal wrote:
>
>> 01 STAR-TABLE.
>> 05 ROW OCCURS 42 TIMES.
>> 10 KOLUMN PIC X OCCURS 42 TIMES.
>> ...
>> 01 MINI-TABLE.
>> 05 MROW OCCURS 14 TIMES.
>> 10 MCOL PIC X OCCURS 14 TIMES.
>
>*Sigh* Imagine a language without named constants.

I'm not sure of your point - you left out:

01 COMMANDS-X.
05 COMMAND PIC X(3).
88 NAVIGATE VALUE "NAV".
88 PHASERS VALUE "PHA".
88 TORPEDO VALUE "TOR".
88 SHIELDS VALUE "DEF".
88 DOCK VALUE "DOC".
88 LIB-COM VALUE "COM".
88 NAV-C VALUE "NAV".
88 PHA-C VALUE "PHA".
88 TOR-C VALUE "TOR".
88 DEF-C VALUE "DEF".
88 DOC-C VALUE "DOC".
88 COM-C VALUE "COM".

If those aren't named constants, what do you call them?

>
>> DISPLAY " ".
>> DISPLAY " *STAR TREK* ".
>> DISPLAY " ".
>> DISPLAY "CONGRATULATIONS - YOU HAVE JUST BEEN APPOINTED ".
>> DISPLAY "CAPTAIN OF THE U.S.S. ENTERPRISE. ".
>> DISPLAY " ".
>> DISPLAY "PLEASE ENTER YOUR NAME, CAPTAIN ".
>> ACCEPT NAME-X.
>
>And with crummy string handling and I/O.

Ah, I detect sarcasm.

Re: COBOL (was Re: iso646.h)

<uosgi8$6s2$1@reader1.panix.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31634&group=comp.lang.c#31634

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.lang.c
Subject: Re: COBOL (was Re: iso646.h)
Date: Thu, 25 Jan 2024 02:20:56 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uosgi8$6s2$1@reader1.panix.com>
References: <uokhnk$eiln$1@dont-email.me> <SXfsN.270636$PuZ9.117836@fx11.iad> <uosau7$20nr3$9@dont-email.me> <cXisN.134975$taff.87042@fx41.iad>
Injection-Date: Thu, 25 Jan 2024 02:20:56 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="7042"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 25 Jan 2024 02:20 UTC

In article <cXisN.134975$taff.87042@fx41.iad>,
Scott Lurndal <slp53@pacbell.net> wrote:
>Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>On Wed, 24 Jan 2024 22:13:06 GMT, Scott Lurndal wrote:
>>
>>> 01 STAR-TABLE.
>>> 05 ROW OCCURS 42 TIMES.
>>> 10 KOLUMN PIC X OCCURS 42 TIMES.
>>> ...
>>> 01 MINI-TABLE.
>>> 05 MROW OCCURS 14 TIMES.
>>> 10 MCOL PIC X OCCURS 14 TIMES.
>>
>>*Sigh* Imagine a language without named constants.
>
>I'm not sure of your point - you left out:
>
> 01 COMMANDS-X.
> 05 COMMAND PIC X(3).
> 88 NAVIGATE VALUE "NAV".
> 88 PHASERS VALUE "PHA".
> 88 TORPEDO VALUE "TOR".
> 88 SHIELDS VALUE "DEF".
> 88 DOCK VALUE "DOC".
> 88 LIB-COM VALUE "COM".
> 88 NAV-C VALUE "NAV".
> 88 PHA-C VALUE "PHA".
> 88 TOR-C VALUE "TOR".
> 88 DEF-C VALUE "DEF".
> 88 DOC-C VALUE "DOC".
> 88 COM-C VALUE "COM".
>
>If those aren't named constants, what do you call them?
>
>>
>>> DISPLAY " ".
>>> DISPLAY " *STAR TREK* ".
>>> DISPLAY " ".
>>> DISPLAY "CONGRATULATIONS - YOU HAVE JUST BEEN APPOINTED ".
>>> DISPLAY "CAPTAIN OF THE U.S.S. ENTERPRISE. ".
>>> DISPLAY " ".
>>> DISPLAY "PLEASE ENTER YOUR NAME, CAPTAIN ".
>>> ACCEPT NAME-X.
>>
>>And with crummy string handling and I/O.
>
>Ah, I detect sarcasm.

I think you detect crankery. Please don't feed the troll.

- Dan C.

Re: COBOL (was Re: iso646.h)

<uosgj1$21jfu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=31635&group=comp.lang.c#31635

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: COBOL (was Re: iso646.h)
Date: Wed, 24 Jan 2024 18:21:20 -0800
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uosgj1$21jfu$1@dont-email.me>
References: <uokhnk$eiln$1@dont-email.me> <uol92t$l82b$3@dont-email.me>
<uomjfr$sopf$1@dont-email.me> <uoopm9$1blvh$1@dont-email.me>
<uop0r1$1d4d4$1@dont-email.me> <87cytrajvc.fsf@nosuchdomain.example.com>
<uoqgdv$1nog8$1@dont-email.me> <uor650$1r462$1@dont-email.me>
<uorrgh$1ulvh$6@dont-email.me> <uors29$1rqu0$2@dont-email.me>
<uosbdc$210t7$1@dont-email.me> <20240124172400.665@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 25 Jan 2024 02:21:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f23c2054aa5a15fad4661d44b257fda";
logging-data="2149886"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dX9oHyQBhy9bgsng+w8NOPjRppLHvbv8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VQpdNaLKorLwdoh4mHSIfp3f3Uw=
Content-Language: en-US
In-Reply-To: <20240124172400.665@kylheku.com>
 by: Chris M. Thomasson - Thu, 25 Jan 2024 02:21 UTC

On 1/24/2024 5:24 PM, Kaz Kylheku wrote:
> On 2024-01-25, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>> Even if both of them were making heavy use of COBOL, what was formerly two
>> separate COBOL installations is now just one COBOL installation.
>>
>> So whichever way you look at it, COBOL usage is inevitably shrinking.
>
> Only if the two merged COBOLS aren't larger than the original two
> combined.
>

LOL!


devel / comp.lang.c / Re: iso646.h

Pages:1234567891011121314151617181920212223242526
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor