Re: [Dwarf-discuss] bit-string

2024-12-18 Thread Thomas David Rivers via Dwarf-discuss
David Blaikie wrote: > > What sort of string-like behavior would one want on a bit-string? Seems > like array would be the better fit to me... > It's a language that originates in the late 60s - so there are some, "different" ideas than more contemporary languages. You can ask for sub-string

[Dwarf-discuss] bit-string

2024-12-18 Thread Thomas David Rivers via Dwarf-discuss
PL/I has the concept of a "string", which can be a fixed-length (possibly not known at compile time), or a fixed size with a 4-byte or 2-byte runtime length prefix, or, depending on the consituents, a NULL (zero-byte) terminated string. For "character-like" strings, the constituents can be 1-byt