Control word code and goto line number do not match what is shown in
https://www.jsoftware.com/help/dictionary/dx005.htm
perm=: 3 : 0
z=. i.1 0
for. i.y do. z=.,/(0,.1+z){"2 1\:"1=i.>:{:$z end.
)
1 (5!:7) <'perm'
+-+---------+-------------------------------+
|0|1 65535 0|z=.i.1 0 |
+-+---------+-------------------------------+
|1|17 2 1 |for. |
+-+---------+-------------------------------+
|2|2 65535 1|i.y |
+-+---------+-------------------------------+
|3|18 6 1 |do. |
+-+---------+-------------------------------+
|4|1 65535 1|z=.,/(0,.1+z){"2 1\:"1=i.>:{:$z|
+-+---------+-------------------------------+
|5|6 3 1 |end. |
+-+---------+-------------------------------+
JVERSION
Engine: j9.4.0-beta10/j64avx512/windows
Build: GPL3/2023-01-24T04:44:26/clang-15-0-5/SLEEF=1
Library: 9.4.15
Qt IDE: 2.0.3/6.2.4(6.2.4)
Platform: Win 64
Installer: J904 install
InstallPath: c:/j904
Contact: www.jsoftware.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm