C (144/178)

From:Allan Odgaard
Date:27 Jul 2000 at 08:38:09
Subject:Re: PROGDIR:

On 26-Jul-00, Jack York wrote:

>> sprintf has nothing to do with dos.library thus will not extract the
>> proper name. [...]
> [...] something like
> strcpy (Path->Config->HelpFile, "PROGDIR:Term.guide");
> How does this work?

This simply copies the static string (containing "ProgDir:") to
Path->Config->HelpFile. THere's no need for you to ever extract the
real name of the program dir, as "ProgDir:" will work...

Regards Allan

--------------------------------------------------------------------<e|-
The Most Expensive Thing You Can Haul Is An Empty Trailer.
http://click.egroups.com/1/5776/1/_/451227/_/964684546/
--------------------------------------------------------------------|e>-