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

BP> Just a quick question for you. I know that strings in MPL are 255
BP> characters, but is there a way to have a string that is longer?
BP>
BP> The reason I'm asking, is I wrote a function that will take a text
BP> string, and wrap the text to the users terminal size. The problem I'm
BP> running into, is with the larger screen sizes, 255 characters isn't much
BP> longer than the screen.
BP>
BP> Would it be possible to have something like an ansistring in MPL, or
BP> would that cause issues with the memory limits of MPL?

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

McDoob
SysOp, PiBBS
pibbs.sytes.net

... Message encrypted: Press ALT-F4 to read encoded message

--- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
* Origin: PiBBS (1:229/110)