Comment

Comment by bc_programming

A pascal string is a single byte with the length, followed by the data.

Some implementations use more bytes for the length data, such as Delphi which changed over to a 4 byte prefix length, though those aren't technically Pascal strings anymore. I can't find anything about a Pascal string being two pointers?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton