I am working on a binding for a dll which requires a bit of mema / memr / memw,
and this brought me to looking at symget / symset / symdat
With minor tweeking, I updated to 64bits the viewnoun verb from the
"Guides/Named Noun Internals" page (running J903):
NB. 64 bit version
viewnoun=: 3 :
There have been changes and with 904 there are about to be more.
You should not use symget/symset/symdat, but instead use memhad/memdad as
defined in the latest jmf.ijs.
Playing with the JE internals is tricky and always will be subject to
change in new releases.
In particular avoid playing with
It looks like J's arrays are now represented by a new structure (which
contains some unions, whose significance depends on context), and
unpacking it would require some pointer chasing.
https://github.com/jsoftware/jsource/blob/master/jsrc/jtype.h#L78 says:
typedef AD *A;
And, https://github.com
When you get this working, editing the wiki to have updated viewnoun that
works 64bit with current systems would be nice :)
On Thu, Mar 31, 2022 at 11:35 AM wrote:
> I am working on a binding for a dll which requires a bit of mema / memr /
> memw, and this brought me to looking at symget / symse
The RANK is overloaded with other info. Max rank is now limited to 63 and
you need to mask off the lowest 6 bit to get the rank,eg
16b3f (17 b.) 37355522
2
On Thu, Mar 31, 2022 at 11:35 PM wrote:
> I am working on a binding for a dll which requires a bit of mema / memr /
> memw, and this bro
Thank you all for the tips!
I will try and update the wiki page soon.
Philip
--
For information about J forums see http://www.jsoftware.com/forums.htm
Hi Philip,
You do need to be registered to change the wiki. If you aren't registered yet,
this link should help and we will get you set up.
https://code.jsoftware.com/wiki/About
Cheers, bob
> On Mar 31, 2022, at 09:37, [email protected] wrote:
>
> Thank you all for the tips!
>
>
>
> I