Thanks, David.

When I said "AFAIK there's no comparable way of calling dylibs in
Darwin" I guess I meant in the add-on-supported way of 'dll'. I'm busy
studying these...

http://www.jsoftware.com/jwiki/Interfaces/Xcode
http://www.jsoftware.com/jwiki/Interfaces/JTask

which don't, as they stand, fill my needs, but are getting close.
Plus: they may suit me in other contexts.


On Thu, Jan 5, 2012 at 6:45 PM, David Mitchell <davidmitch...@att.net> wrote:
> You are welcome, Ian.
>
> I am a bit curious about J support for dylibs.  I currently do not have any 
> way
> to try it myself, but the J DLL documentation does say:
>
> J can call procedures that are compiled in a shared library file. In Windows
> these files are called DLLs (dynamic link libraries) and have a .dll 
> extension.
> In Linux they are called shared libraries or shared objects and have a .so
> extension. In Mac they are called dynamic libraries and have a .dylib 
> extension.
> The term DLL is used here for all platforms. A procedure in a DLL is called by
> its name and filename.
>
> It is true that there may not be dylib functionality for Darwin that matches
> what Windows has for timer usage, but I saw a function
> "dispatch_source_set_timer" in the GCD reference from Apple that seemed as if 
> it
> might be a start.
>
> On 1/5/2012 12:54, Ian Clark wrote:
>> Thanks, David.
>>
>> But this uses 'dll'. AFAIK there's no comparable way of calling dylibs
>> in Darwin.
>>
>> On Thu, Jan 5, 2012 at 5:44 PM, David Mitchell<davidmitch...@att.net>  wrote:
>>> Here is a version that works with J602 and J701 jconsole.  It does not work 
>>> with
>>> jhs or jgtk.  I have not tested it extensively and it may have side effects 
>>> or
>>> bugs that I haven't found yet.
>>>
>>> http://www.jsoftware.com/jwiki/Scripts/WindowsTimer
>>>
>>> On 1/5/2012 8:27, Ian Clark wrote:
>>>> How do I get a timer in j701 jhs (or jconsole)?
>>>>
>>>> I've been assuming wd (11!:0) doesn't work at all in j701 (in j602
>>>> you'd do: 11!:0 'timer 3' for a callback in 3 secs).
>>>>
>>>> BTW J701 help (http://www.jsoftware.com/docs/help701/dictionary/dx011.htm)
>>>> still refers to 11!:0 but I assume that's just because it's been
>>>> overlooked...?
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to