[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help Me!! Getting CATALOG into an Array Variable
In article <1e6ms6s.13a8md613iod28N%dempson@actrix.gen.nz>,
dempson@actrix.gen.nz (David Empson) wrote:
> Jon Bettencourt <jonINTERNETrelayCHAT@napaVALLEYnet.CLARInet> wrote:
>
> > I'm trying to get the CATALOG of the current ProDOS directory into an
> > array in Applesoft.
>
> The correct technique is to use the OPEN then READ command to open the
> directory and start reading from it, then use the INPUT command to read
> each line of the catalog. (You need to use the ",TDIR" directive with
> the open command, since you aren't opening a text file.)
Great! That's how to read the catalog of a certain directory, but what
about just the current directory? Is there a way to find out what the
current directory is?
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
jonrelay@napanet.net dimension18.cjb.net
"Remember, if it's not a secure web server, it's an _insecure_
web server!" -- Me
*_ Syntax Error: an error on a criminal's tax record.
| Bad Subscript: a criminal reading a book on a subway.
--- Unimplemented Trap: when a bear trap isn't set up
|' ,| properly and thus does not work.
--- Overflow: too many ice cubes. <Can't Restart>
Figure 1.1: Most Applications Crash - If Not, The Operating
System Hangs
I just upgraded to System 7.6!
Don't forget: Tammy Day on February 15th!
Please remove capital letters from my e-mail address to respond.