TIP: Click on subject to list as thread! ANSI
echo: cis.utilities
to: Pete Lyall 76703,4230 (X)
from: George Hendrickson 71071,2003
date: 1990-07-24 12:32:01
subject: #Reading Directorys

#: 5507 S9/Utilities
    24-Jul-90  12:32:01
Sb: #Reading Directorys
Fm: George Hendrickson 71071,2003
To: Pete Lyall 76703,4230 (X)

I've been working on my utility and got it to read the directory and print the
filenames and the LSN numbers. I set it up to read the directory using TYPE.
Here is how I did it. 'TYPE direntry=name:STRING[29]; lsn0,lsn1,lsn2:BYTE' When
I tell it to print each filename, after resetting the last character of the
filename, and print the LSN's 0-2, this is what it looks like. e.g. FILENAME
LSN0=0 LSN1=119 LSN2=203 Which one of those do I use to 'SEEK' to the filenames
FD sector and get my info? Do I have to multiply the lsn's together to get that
sector number? And if so, what's the formula? (I'm getting closer! This is 
fun!) OS9 has opened all new doors to me...amazing stuff!

There is 1 Reply.

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