It ought to be 2*28 (or 56) for J64.

Note that this will change, though, based on the rank of the array.

-- 
Raul

On Tue, Jun 18, 2013 at 12:00 AM, bill lam <[email protected]> wrote:
> Using "i" and it worked in J64 is purely by co-incidence, it
> will fail later if not now.  For the box, it points to the
> structure A. the offset 28 which pointer to ravelled data is for 32-bit.
> You have to find out the exact offset for J64. This can be done
> by counting bytes in structure A or run a small C program to
> print its member offset.
>
> Or by trial and error for values from 28 to 60, say.  (untested)
>
> Пн, 17 июн 2013, greg heil писал(а):
>> Bill
>>
>> >i do not know, but Dave Mitchells scripts at 
>> >http://www.jsoftware.com/jwiki/Scripts/CallJ uses the x parameter and has 
>> >the same limitations ... except those scripts also lose the ability to 
>> >handle boxed and extended types on j32. The script i modified seems to work 
>> >on j32, j64 and j6 to j8 losing boxing and extendeds on 64b machines only.
>>
>> greg
>> ~krsnadas.org
>>
>> --
>>
>> from: bill lam <[email protected]>
>> to: [email protected]
>> date: 17 June 2013 19:49
>> subject: Re: [Jprogramming] calling jj.dll
>>
>> >Most of those "i" inside prototype signature should changed to "x", eg
>>
>> jinit=: 'j.dll JInit x' & cd
>> cmd=. 'j.dll JGetM i x *c *x *x *x *x'
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> 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