Re: [cc65] scratch files on C64 or file spec and drive numbers

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2008-09-25 10:09:25
Hello,

* On Wed, Sep 24, 2008 at 06:10:55PM -0400 Greg King wrote:
> From: "Groepaz"; on Wednesday, September 24, 2008; at 11:31 AM -0400

> > I:/the/path/file
> >
> > That's almost trivial to parse, with little overhead.
[...]
 
> "k:2//8/:my/file.prg"
> 
> (In case anybody is wonderring,  the first slash says, "this is a path."
> The second one says, "the path starts at the root directory."  The third one
> separates the path from the file-name.  And, the fourth one is a part of the
> file-name [that second colon tells the DOS what the slashes are doing]!)

I ask myself if GPZ' comment in the sense of "this is easier to parse
than doing a _curunit = 11; in C" (done in IRC) still holds true... In
fact, I even doubt it for GPZ' original proposal.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 25 10:09:46 2008

This archive was generated by hypermail 2.1.8 : 2008-09-25 10:09:48 CEST