On Wed, 5 Dec 2018, Sven Schreiber wrote:
Am 05.12.2018 um 14:39 schrieb Allin Cottrell:
> On Wed, 5 Dec 2018, Sven Schreiber wrote:
>
>> OK, but if it is "only" installed and not include-ed automatically,
where
>> do I put the "include" statements?
>
> You didn't quote the last part of my statement, namely
OK, sorry.
>
> <quote>
> And if a script does "include <yourpkg>" we'll try to include the
> dependencies first, if they're not already in memory.
> </quote>
>
> So if package A depends on package B, then "include A.gfn" (in any
> regular script that calls functions from A) automatically implies "include
> B.gfn".
But still, I'm talking about executing the package A in the GUI, so there's
no script and no explicit "include A.gfn". Does that still imply "include
B.gfn" ?
It should. That's supposed to be handled at a lower level than the
"include" command as such, namely real_load_package() in libgretl.
However, I admit this is not fully tested. I'll rig up a test case.
Allin