From: | Jack York |
Date: | 29 Jul 2000 at 19:06:47 |
Subject: | Re: PROGDIR: |
Hello Allan
On 27-Jul-00, Allan Odgaard wrote:
> 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...
Ok, I've finally got it Allan. I got hung up on thinking the string should
have contained the actual location name and was therefore not working.
Thanks for the help.
Jack
--------------------------------------------------------------------<e|-
The Most Expensive Thing You Can Haul Is An Empty Trailer.
http://click.egroups.com/1/5776/1/_/451227/_/964894164/
--------------------------------------------------------------------|e>-