From: | Jack York |
Date: | 25 Jul 2000 at 20:40:26 |
Subject: | Re: PROGDIR: |
Hello Andrew
On 25-Jul-00, Andrew Markwell wrote:
>>> Could anyone tell me about the PROGDIR: assign? Is it a standard Amiga
>>> thing or has it just been adopted by programmers?
>>
>> It's in KickStart since V36+ AFAIK...
>>
>>> How do I use it?
>>
>> fh = Open( "PROGDIR:filename", MODE_READ ) ;).
>
> Is PROGDIR: set up on its own when a program is launched? Because it
> doesn't seem to work! Open() just returns NULL.
PMFJI, but I have wondered about this myself. I know what it's purpose is
but whenever I use it, it is treated as a literal. So if I do something
like
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?
Jack
------------------------------------------------------------------------
The Most Expensive Thing You Can Haul Is An Empty Trailer.
http://click.egroups.com/1/5776/1/_/451227/_/964554181/
------------------------------------------------------------------------