From: | Alfonso Ranieri |
Date: | 21 Feb 2001 at 16:11:27 |
Subject: | Re: Proposal |
Andreas wrote:
>> A shared library named rxruntime.library
>
> Why rxruntime ? You could create a rxvars.library and add the
> rmh/SetVar/GetVar to it. And maybe a StingToStem(). Thus functions
> with variables would be in one place.
>
Problem solved: I put the ll things in rmh.library. ARexx users
(dislike e.g. perl or phyton) seem to not like to link libraries :-)
> This is like in ReadConfig(). I once had a problem with this style,
> it was limiting. But sadly I do not remember what it was....
It seems to me the simpler one.
> You mean like files are being auto-closed at script-exit ?!
Yes.
> So, I can add to the named space a single variable like
>
> foo = "bar"
>
> but also
>
> foo.
>
> which might contain
>
> foo.0
> foo.1
> foo.2
> foo.etc ?
Yes. The function names changed, we have:
NamedSpaceCreate(<name>,[opt])
NamedSpaceFree(<name>)
NamedSpaceExport(<name>,[pattern],[opt])
NamedSpaceImport(<name>,[pattern])
with
call NamedSpaceExport(ns,"foo")
you export only (local) foo
with
call NamedSpaceExport(ns,"foo.#?")
you export the all foo. stem
with
call NamedSpaceImport(ns,"foo")
you import only ns/foo value in (local) foo
with
call NamedSpaceImport(ns,"foo.#?")
you import everything that matches "foo.#?" in
your (local) enviromnet.
Ciao. Alfonso.
P.S. This rmh.library (10.2) is at my HP.
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://us.click.yahoo.com/kWP7PD/pYNCAA/4ihDAA/stAVlB/TM
---------------------------------------------------------------------_->
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/