[Info-vax] BASIC (was Re: 64-bit)

Lawrence D'Oliveiro ldo at nz.invalid
Fri Jan 12 15:22:29 EST 2024


On Fri, 12 Jan 2024 12:09:30 +0000, Chris Townley wrote:

> On 12/01/2024 06:15, Lawrence D'Oliveiro wrote:
>
>> On Fri, 12 Jan 2024 00:40:47 -0500, Dave Froble wrote:
>> 
>>> Basic in my opinion does strings very well.
>> 
>> Only if you measure it by the pre-Perl era.
> 
> Perl is the work of the devil!

It did take things to the next level in terms of text manipulation--hence 
its popularity to analyze text-intensive data like logfiles etc.

Other languages have followed the example. E.g. in Python:

    ← "the quick brown fox".split(" ")
    → ['the', 'quick', 'brown', 'fox']

    ← "ha" * 5
    → 'hahahahaha'

    ← ", ".join(["ha"] * 5)
    → 'ha, ha, ha, ha, ha'

And that’s before getting into regular expressions.



More information about the Info-vax mailing list