C (127/178)

From:Allan Odgaard
Date:25 Jul 2000 at 21:10:10
Subject:Re: PROGDIR:

On 25-Jul-00, Jack York wrote:

> [...]
> sprintf ( filename, "PROGDIR:%s", "filename"); and then puts
> (filename);

> I get PROGDIR:filename displayed where I should be something like
> sys:filename.

> What am I missing?

sprintf has nothing to do with dos.library thus will not extract the
proper name.
For that you'll have to do something like Lock("ProgDir:", ...);
NameFromLock(...);

------------------------------------------------------------------------
The Most Expensive Thing You Can Haul Is An Empty Trailer.
http://click.egroups.com/1/5776/1/_/451227/_/964555987/
------------------------------------------------------------------------