ARexx (8/23)

From:taoberly
Date:14 Jul 2001 at 02:57:35
Subject:Re: Converting disk icon names to DOS devices

Hi Rolf,

--- In arexx@y..., "Rolf Max Rotvel" <rotvel@m...> wrote:
> On 13 Jul 2001, at 1:05, taoberly@m... wrote:
>
> > > > "Workbench" becomes "DH0:"
>
> > > Have a look at the examinedt() function from the datatypes.library.
> > > I'm pretty sure one of the fields is the full path of the item
> > > examined using device names.
> >
> > I don't have any programming documentation besides what shipped with
> > OS 3.1/3.5/3.9, so am not sure where else I could go to look it up. If
> > I ever decided to upload the script to Aminet, though, it would be
> > desirable to use an OS library.
>
> I dug out my Amiga Developer CD v2.1:
>
> datatypes.library/--rexxhost--
> datatypes.library/--rexxhost--

[...]

Hey, that's neat. I didn't know datatypes.library could do all those
things. I'm guessing these features were added with OS 3.5? (If they
were available in 3.1, then I'm *really* out of touch! ;-)

> It's the dtstem.FileName you're looking for. The thing is,
> I'm not sure whether it uses volume or device names. But
> have a look.

Unfortunately, the Filename symbol just returns the volume name (if I
feed it Workbench:, it returns Workbench:). It was a good try,
though...thanks for digging that out. It definitely motivates me to
buy whatever OS4.x developer kit gets released.

I finished the first draft of the script, and it works fine with one
exception. I want to run it as part of the boot process (I put it in
WBStartup), but the script always returns an error 10, specifically

7 *-* ADDLIB('rmh.library',0,-30,0);
+++ Command returned 10

although it still works fine. (I also get no errors if I run it
manually instead.) Since the script is being processed, Rexxmast is
obviously loaded, so I'm a little confused about what's happening. It
seems that *something* isn't finished loading, but I'm not sure what.
I may be able to hide it with SIGNAL, but would prefer to understand
what's happening. Any suggestions? Maybe I just need to insert a
short delay somewhere?

Thanks again,

Todd

ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/