The array returning by 9!:8 is 1-origin.
3{.9!:8''
+-------------------+-----+------------+
|attention interrupt|break|domain error|
+-------------------+-----+------------+
2{9!:8''
+------------+
|domain error|
+------------+
error number 3 is domain error.
Tue, 25 Feb 2020, Ian Shannon написал(а):
> Greetings,
>
> I'm not sure if this is the correct list. Sorry if that is the case.
>
> The "result" field in documentation at
> https://code.jsoftware.com/wiki/Vocabulary/Foreigns#m13
> for 13!:8 is
> <quote>
> Error number ({.,y) is raised, with the error text changed to x if given
> (default error text is (<:y) { 9!:8 '')
> Signaling error number 55 has the same effect as throw.
> </quote>
>
> The action involves **incrementing** y not **decrementing** y as shown here.
> Hence, text
> Needs to be changes to =>
>
> ... (>:y) { 9!:8 '') ...
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This email is intended for the addressee(s) named and may contain
> confidential and/or privileged information.
> If you are not the intended recipient, please notify the sender and then
> delete it immediately.
> Any views expressed in this email are those of the individual sender except
> where the sender expressly and with authority states them to be the views of
> the NSW Office of Environment and Heritage.
>
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
> ----------------------------------------------------------------------
> 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 --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm