bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Shared library survives session


From: Juergen Sauermann
Subject: Re: [Bug-apl] Shared library survives session
Date: Tue, 11 Nov 2014 12:38:03 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Blake,

if you save a workspace containing a native function then the name of the shared library
is saved and when GNU APL loads such a workspace then it attempts to reload the shared library.
If you move the workspace to a different machine then it should still work unless the shared library is missing.

The idea is that a native function should behave like a normal APL function as much as possible.

/// Jürgen


On 11/11/2014 06:01 AM, Blake McBride wrote:
Greetings,

If I do:

'lib_file_io.so'⎕FX'FILE_IO'

I get a function that is bound to the shared library.  If I then do:

      )SAVE XYZ
      )OFF
apl
      )LOAD XYZ

I see FILE_IO is defined.  How can this be?  How could it already be bound to the shared library?  Wouldn't I have to do this afresh with (at least) every new evocation of APL?  How could it possibly still be bound?  What if I moved that workspace to a different machine?

Thanks.

Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]