TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Black Panther
from: g00r00
date: 2022-03-26 11:49:00
subject: Re: MPL Strings

 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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.