On 05 Jun 2019, stizzed said the following...
Is there a way to truncate the Mystic 'Current Message Base' Display Code (|MB)? I would like to truncate the output display to just 25
characters.
Thanks for your consideration.
Function PADCT (S: String, N: Byte, C: Char) : String
This function pads a string to the center with the specified
character.
Example:
Var Str : String
Str := PadCT('Hello World', 80, ' ')
WriteLn (Str)
The above example would display the text "Hello World" centered on
the screen. The PadCT function returns the text "Hello World"
centered in 80 spaces with the character of " " used to fill the
blank spaces.
Function PADLT (S: String, N: Byte, C: Char) : String
This function returns a text string padded with spaces to the
left side.
Example:
Var Str : String
Str := PadLT('Hello World', 79, ' ')
The above example would return a string which is 79 characters in
length with the text "Hello World" as the leftmost part of the
string. The passed character is the character that is used to
fill the blank spaces.
Function PADRT (S: String, N: Byte, C: Char) : String
This function returns a text string padded with spaces to the
right side.
Example:
Var Str : String
Str := PadRT('Hello World', 79, ' ')
The above example would return a string which is 79 characters in
length with the text "Hello World" being the rightmost part of the
string. The empty spaces are filled with the passed charcter (in
this case ' ').
|08 .|05ú|13ù|15Dr|07e|08am Ma|07st|15er|13ù|05ú|08.
|08 øù|05ú|13ùø |13øù|05ú|08ùø
|11 DoRE|03!|11ACiDiC|03!|11Demonic
|08[|15bbs|09.|15dreamlandbbs|09.|15org|08]
--- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
* Origin: |08--[|15!|07dreamland BBS bbs.dreamlandbbs.org (21:1/163)