Hi All,
I've been working on an MPL for Mystic, that is giving me a bit of an issue. I'm not sure if it might be an 'undocumented feature of Mystic's MPL system, or a coding issue on my end...
In this code, I am using a Record, which contains an array of records. Everything is compiling just fine, and it seems to be working to a point...
The array of records contained in the main record, contains an array of string[80]. When I try to write those lines of text to the screen, I can only get the first 5 characters of the 1st element of the array...
Here's the records:
Type BBSRevs = Record
RevTxt : Array[1..4] of String[80]
RevRate : Byte
End
Type BBSRec = Record
Telnet : String[40]
Name : String[40]
City : String[25]
Sysop : String[30]
Nodes : String[6]
Soft : String[11]
Deleted : Boolean
AddedBy : String[30]
Port : String[10]
SSH : String[10]
RLogin : String[10]
Stars : Byte
Reviews : Byte
BBSRev : Array[1..20] Of BBSRevs
End
Var
Entry : BBSRec
So, when I try to write:
WriteLn(PadRt(Entry.BBSRev[1].RevTxt[1],MaxX-X,' '))
I am only getting the first 5 characters. If I try the other 3 strings, they print just fine.
Has anyone else run into something like this? I don't think there is any issues with the code, but anythings possible...
Thanks in advance. I've been pulling what's left of my hair out of my head trying to figure this one out. ;)
---
Black Panther(RCS)
aka Dan Richter
Castle Rock BBS
telnet://bbs.castlerockbbs.com
http://www.castlerockbbs.com
http://github.com/DRPanther
The sparrows are flying again...
--- Mystic BBS v1.12 A47 2021/01/14 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)