Subj : MPL Strings
To   : Shaun Buzza
From : Black Panther
Date : Fri Mar 25 2022 09:25 pm

Hello Shaun!

25 Mar 22 22:55, you wrote to me:

SB> Isn't 255 the limit for string size in all versions of Pascal? Yeah, I
SB> know MPL isn't exactly Passcal, but I would assume that it is
SB> constrained by the limits of Pascal itself...

At least in Free Pascal, there is a string type called AnsiString, which has no length limit. The string is null terminated, and is actually treated as a pointer to memory on the heap.

There actually is a length limit, but it's dependent on the operating system and the amount of memory the computer has.

I really only need a string that would be able to hold around 500 or so characters. I wonder if I could do that with an array of char... Hmmm


Black Panther

... Necrophiliacs DO IT until they are dead tired.
--- GoldED+/LNX 1.1.5-b20180707
* Origin:  Exploring other frontiers!  (1:317/3)