> with the first byte containing the length of the actual string
And the wheels fall off with the first string longer than 255 characters.
And the wheels fall off with the first string longer than 255 characters.
However, Free Pascal has the worst documentation of any major project I've ever encountered (The exact opposite of Turbo Pascal), so I can't link to a good reference. Their Wiki is a black hole of nuance and sucks all useful stuff off the internet.