ARexx (72/77)

From:Neil Bothwick
Date:29 Apr 2001 at 01:29:45
Subject:Re: Modifying the path

Joseph Duchâtelet said,

> Is it possible at all to modify the path from an arexx script ? (dos
> equivalent:path mypath add )

No, an ARexx script inherits the path of its calling program, or that of
the resident process otherwise. The path used by the ARexx resident
process is whatever was in place at the time rexxmast was run, which is
why you should start rexxmast as late as possible in the startup
process, ideally after LoadWB.

>From the ARexx 1.15 addendum:

CLI Structure.
Each ARexx task is now given a CLI structure so that ADDRESS COMMAND will
have a directory and path to inherit. ARexx uses a multiple inheritance
mechanism whereby the task will inherit from its client if the client has
a CLI structure, and otherwise uses the RexxMaster's path. In the latter
case, the path is that in effect when "rexxmast" is run, by analogy with
WorkBench. The CLI structure is kept synchronized with changes made to
the current directory via Pragma('D',dirname).

Cheers

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine

Waiter! There's a fly in my qagh!

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

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