[Info-vax] basic BASIC question

Arne Vajhøj arne at vajhoej.dk
Mon Feb 3 20:53:00 EST 2025


On 2/3/2025 8:18 PM, Lawrence D'Oliveiro wrote:
> On Mon, 3 Feb 2025 19:32:35 -0500, Arne Vajhøj wrote:
>> On 2/3/2025 5:05 PM, Lawrence D'Oliveiro wrote:
>>> Trouble is, every other notation for string literals requires some kind
>>> of escape system for representing characters that might interfere with
>>> the syntax notation itself.
>>
>> True. But that does not seem to be a problem.
> 
> I know. Normal people see it as an absolute nightmare to try to calculate
> a count prefix. But surely any self-respecting editor makes that easy,
> e.g.
> 
>      44HThe quick brown fox jumps over the lazy dog.
> 
> It only took me a few seconds in Emacs, even without the benefit of a
> custom command to make it faster.

Note that the above seems to be a hollerith edit descriptor (deleted in
Fortran 95 standard) and not a hollerith constant (deleted in
Fortran 77 standard). Counting is not a problem in hollerith constants,
but changing the string can be.

Arne



More information about the Info-vax mailing list