TIP: Click on subject to list as thread! ANSI
echo: cis.utilities
to: George Hendrickson 71071,2003
from: Pete Lyall 76703,4230
date: 1990-07-24 13:58:47
subject: #5507-Reading Directorys

#: 5508 S9/Utilities
    24-Jul-90  13:58:47
Sb: #5507-Reading Directorys
Fm: Pete Lyall 76703,4230
To: George Hendrickson 71071,2003

George -

Yep - you're on the trail.... here's the scoop:

The LSN is a 3 byte number. Basically, the breakdown is -

                   MSB * 256 * 256
                +  NSB * 256
                +  LSB
                ========================
                  LSN #

In C, there are functions for taking these three bytes and making a LONG
INTEGER out of them (and back). Under B09, you may have to use a type REAL,
since the result is greater than +/- 32767.

Pete

SOURCE: compuserve via textfiles.com

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