Subj : Re: Reading dat files
To   : Alexander Grotewohl
From : Andy Gorman
Date : Fri May 07 2021 12:14 pm

On 07 May 2021, Alexander Grotewohl said the following...
AG> On 07 May 2021, Andy Gorman said the following...
AG>
AG>  AG> First I'm noticing that user names that are less than 8 characters ar
AG>  AG> getting s ome piece of the word "unknown" appended to them.  For
AG>  AG> example, a username of "T rip" looks like "Tripown" when I pull it fr
AG>  AG> the file (The BBS reads it properl y).
AG>
AG> are you correctly fetching the first byte of the username as the length?
AG>
AG> if you read through all the users using the same set of variables you can
AG> definitely end up with unexpected data in memory.

I am reading the file at position one and then having Pascal put the data into the type (the user record type).  I can read through the file in C# just fine, but not with Pascal (I thought it'd be easier).  I went down this road because of the  real name and handle issue of having "own" appended to the values.
--- Mystic BBS v1.12 A47 2021/05/03 (Windows/64)
* Origin: The Pot O'Gold - bbs.thepotogold.net:4888 (1:229/426.52)