Path: csiph.com!tncsrv06.tnetconsulting.net!news.quux.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: D Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: The joy of FORTRAN Date: Fri, 27 Sep 2024 22:00:42 +0200 Organization: i2pn2 (i2pn.org) Message-ID: <5bef0f2c-5203-4f07-80e5-88dc4d2e3f8b@example.net> References: <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com> <36KdnVlGJu9VLW77nZ2dnZfqn_qdnZ2d@earthlink.com> <20240927113205.b0ccfb4910eb89f27f138cbb@127.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Injection-Info: i2pn2.org; logging-data="3763645"; mail-complaints-to="usenet@i2pn2.org"; posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M"; X-Spam-Checker-Version: SpamAssassin 4.0.0 In-Reply-To: Xref: csiph.com comp.os.linux.misc:58566 alt.folklore.computers:227104 On Fri, 27 Sep 2024, Bob Eager wrote: > On Fri, 27 Sep 2024 11:32:05 +0100, Kerr-Mudd, John wrote: > >> On Thu, 26 Sep 2024 20:51:25 -0000 (UTC) Lawrence D'Oliveiro >> wrote: >> >>> On Thu, 26 Sep 2024 16:18:01 GMT, Charlie Gibbs wrote: >>> >>>> One of the favourite functions in my library pulls the next token >>>> from a delimited string, but as opposed to strtok() it does it >>>> non-destructively and can handle empty strings. >>> >>> Use a high-level language which has all this and more: >>> >>> for item in "the,quick,brown,fox".split(",") : >>> print(item) >>> #end for >>> >>> Output: >>> >>> the quick brown fox >>> >>> In Python, strings are objects, and that applies to string expressions >>> (including string literals) as well. >> >> You need Rexx > > Hear, hear. Still use it. > Rexx? That is a name I haven't heard in a long time. Do you mean Ben Kenobi? Last time I encountered him he was doing tuning and statistics collection for on a storage system.