So, apparently, I had "fixed" the wrong thing, but anyways...
SYS_UNIX is also in that list of OSes which support file locking (so,
mostly: Linux -- though I think there's been some efforts to support
BSD implementations other than OSX).
Meanwhile the table says 1!:20 is jfiles() and 1!:30 is
I hear you Ian,
That is the reason that we are having a discussion about the next step. If we
get it right then we will not need to revisit the decision.
Thanks again for the observation that started this off.
Cheers, bob
> On Jan 29, 2023, at 13:51, 'Ian Shannon' via General
> wrote:
>
>
Bob,
Thanks for the information about corrections. While I am happy to assist, I'm
a little scared of what sometimes happens on Wikipedia where "facts" are
repeatedly changes back and forth!
Thanks,
Ian
Ian Shannon
Undertaking rigorous statistics in support of the NSW environment
For
Thanks Raul,
From your link it looks to me that only DOS (windows?) and the Mac operating
system are supported for locking. Am I correct with this interpretation.
Also because I am not familiar with the source code, what does this
documentation indicate about the changes Devon proposed to
It may be helpful, here to look at the list of 1!:n commands in J's source code
https://github.com/jsoftware/jsource/blob/master/jsrc/x.c#L77
The names are in two columns (monadic, dyadic) and many of the names
are usefully descriptive. (They all begin with jt which isn't relevant
here, but the
Yep, I agree
Also, that 1!:32 should have
filenumber,start,length
filenumber is a file number from 1!:21
changed to:
filenumber,start,length
filenumber is a file number from 1!:30
I will make the changes in a couple of hours, unless someone shows me to be
mistaken (or makes the change
These look reversed:
Open Files20 '' _A table where each row
contains filenumber;filename representing one file opened by 1!:*31*
Locks 30 '' _ A table where each row
contains filenumber,start,length representing one lock established by 1!:
*21*
because 1!:31 is
I went in to fix it, but Raul had already beaten me to it!
Ian, if you have the time, we can always use sharp eyes to make wiki
corrections. All you need to do is sign up.
https://code.jsoftware.com/wiki/About
Cheers, bob
> On Jan 29, 2023, at 03:30, 'Ian Shannon' via General
> wrote:
>
>
Hi there,
Just a short note about the wiki.
On
https://code.jsoftware.com/wiki/Vocabulary/Foreigns
Under the heading m=1 (Files)
It has
Action x(if any) n y Rank Result
Locks - 30 '' _ A table