Re: [Jprogramming] DLL documentation update request

2020-03-23 Thread Devon McCormick
You should feel free to update the documentation if you find it unclear. I just added a link to the "8!:0" foreign into the documentation for format (":) because the foreign allows more precise control of the formatting. I knew there was some kind of format string we could use to format numbers b

Re: [Jprogramming] DLL documentation update request

2020-03-23 Thread Scott Locklin
>The safest way to convert pre-j807 code that will modify content of *data >is continue to use * but >remove the leading > (if there) and read result of cd . eg >pre-j807 >'...' cd cmd;nr;XX >now >r=. '...' cd cmd;nr;XX >XX=. _1{::r >or >XX=. _1{:: '...' cd cmd;nr;XX Ah, yikes, I see what's goi

Re: [Jprogramming] DLL documentation update request

2020-03-23 Thread Henry Rich
It's a wiki: if you are sure of your information, improve it. [If you're only pretty sure, change it and then send a message to the Forum asking someone to review it.  There is too much to be written for the staff at Jsoftware to write it all] The standard interface implements call by value (

Re: [Jprogramming] DLL documentation update request

2020-03-23 Thread bill lam
I agree the new & is confusing and avoid using it at all. It doesn't mean you can just replace * with & and everything will work as before. The safest way to convert pre-j807 code that will modify content of *data is continue to use * but remove the leading > (if there) and read result of cd . eg

[Jprogramming] DLL documentation update request

2020-03-23 Thread Scott Locklin
I haven't called a custom DLL in some time now; since I have more spare time, I was noodling around with old code. Took me a while to notice what was going on; "pass by reference" where you send a J array to a DLL to be written to wasn't working the way it had in the past. It actually is documente