On 31.05.2024 20:29, Gilbert Barmwater wrote:
I've been experimenting with the .package class and have run into somewhat puzzling behavior. I
am trying to create a .package object from a file which, according to the documentation, should
look like this:
thePkg=.package~new(fileName)
When I do this I DO get a package in thePkg, BUT the package also gets loaded(executed) as if I
had issued a
.context~package~loadPackage(fileName).
The docs do not indicate that this is to be expected. Help!
If you do not want the prolog to be executed you can use "::options noprolog". Then later, whenever
you want it to be executed you could issue "thePkg~prolog~call" or "thePkg~prolog~callWith(...)".
---rony
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel