[Oberon] Parts & paths; was Re (3): A path variable for OLR?

eas lab lab.eas at gmail.com
Thu Oct 13 07:03:31 CEST 2016


> Native Oberon has the slightly different arrangement.
> "OFSTools.SetDefault WRK ~" moves WRK to the front of the
> search list.  An arbitrary number of volumes can be ordered.

What is this all about? I didn't see that when I used N-O [before LEO days].

Does this help solve the problem that LNO & ALO are restricted to files
in their own-single directory?

== Chris Glur.




On 8/16/16, peter at easthope.ca <peter at easthope.ca> wrote:
> From:	Peter Matthias <PeterMatthias at web.de>
> Date:	Mon, 15 Aug 2016 18:57:24 +0200
>> If file is not in "WRK:", "SYS:" will be used for reading. "SYS:"
>> defaults to "." and can be set by "OSYSDIR=/dir".
>
> Nice.
>
>> Both dirs can be set by FileTools.SetSYS resp. FileTools.SetWRK.
>
> Native Oberon has the slightly different arrangement.
> "OFSTools.SetDefault WRK ~" moves WRK to the front of the
> search list.  An arbitrary number of volumes can be ordered.
>
> ** ETHO Behaviour **
> Volume containing executables is automatically SYS.
> FileSystem.Mount WRK1 AosFS <volume1> ~
> FileSystem.Mount WRK2 AosFS <volume2> ~
> FileSystem.Mount WRK3 AosFS <volume3> ~
>
> OFSTools.SetDefault WRK3 ~
> OFSTools.SetDefault WRK2 ~
> OFSTools.SetDefault WRK1 ~
> makes search path
> WRK1 WRK2 WRK3 SYS
>
> ** OLR analogue **
> FileTools.Set SYS  <path0> ~
> FileTools.Set WRK1 <path1> ~
> FileTools.Set WRK2 <path2> ~
> FileTools.Set WRK3 <path3> ~
>
> FileTools.SetDefault WRK3 ~
> FileTools.SetDefault WRK2 ~
> FileTools.SetDefault WRK1 ~
> makes search path
> WRK1 WRK2 WRK3 SYS
>
> Regards,            Lyall E.
>
> --
> 123456789 123456789 123456789 123456789 123456789 123456789 123456789
> Tel +1 360 639 0202
> http://easthope.ca/Peter.html Bcc: peter at easthope. ca
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>


More information about the Oberon mailing list