Subj : Re: MPL Strings
To   : Black Panther
From : g00r00
Date : Sat Mar 26 2022 11:49 am

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?

Your options for now are to use Mystic's Python integration or you can try using the MysticScript which does allow longer strings (available in the pre-alpha releases of A47 and A48).  Otherwise I think you'd have to to use multiple strings or an array of chars in MPL.

MPL was created in the 1990s and is missing a few crucial things most notably are 64-bit integers and an ansistring-like type.  I may add them in the future but its going to be a bunch of work, so I am experimenting with MysticScript as a possible replacement instead.

I haven't fully decided on which direction to go but you can find MS in the A48 pre-alphas.  The latest version includes Blackjack, Tetris, and the Usage ported to MysticScript.

... APPLE: It may be slow, but at least it's expensive.

--- Mystic BBS v1.12 A48 2022/03/14 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)