I can reproduce the error and will fix it for the next beta, though I can't do it for a few days.

The error is not as you said.  13!:0 (0) should clear all levels of suspension.  The error here is that it leaves a nonempty stack, as if a level of suspension were still active.

Henry Rich

On 12/24/2022 3:04 PM, Don Guinn wrote:
Given two suspensions in debug and resetting one (13!:0]0) then testing
(13!:17'') gives a result of 0 even though there is still one suspension
still active.

13!:0]0

13!:17''

0

p=:+

13!:0]1

1 2 p ,3

|length error in p, executing dyad +

|shapes 2 and 1 do not conform

|p[:0]

1 2 p ,4

|length error in p, executing dyad +

|shapes 2 and 1 do not conform

|p[:0]

13!:1''

|length error

*p[:0]

| 1 2 p,4

*p[:0]

| 1 2 p,3

13!:17''

1

13!:0]0

13!:17''

0

13!:1''

|length error

*p[:0]

| 1 2 p,3

JVERSION

Engine: j904/j64avx512/windows

Beta-i: commercial/2022-12-13T15:12:27

Library: 9.04.07

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

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to