TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Alexander Grotewohl
from: Andy Gorman
date: 2021-05-07 12:14:00
subject: Re: Reading dat files

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)

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™.