OK - Just to confirm your amended version,  assuming you meant i rather than *i* crashes

my JQt v901 under Windows

but returns

   test''
┌─┐
│c│
└─┘
as expected,   in JQt v807

Mike


On 20/04/2020 10:15, Dimitri Georganas wrote:
Apologies, another error...when trying different versions and programs
(jqt, jconsole, j-mode), I mixed up things.

The segmentation fault happens in all cases with,

test=: monad define
for_i. 'a';'b';'c' do.
  *i*
end.
)



On Mon, Apr 20, 2020 at 11:00 AM Dimitri Georganas <[email protected]> wrote:

901, sorry

On Mon, Apr 20, 2020 at 10:59 AM Dimitri Georganas <[email protected]> wrote:

Is there something wrong with for_i
<https://code.jsoftware.com/wiki/Vocabulary/fordot>. in 902?

In 807 this works:

test=:monad define

for_i. 'a';'b';'c' do.

smoutput i

end.

)


test''

┌─┐

│a│

└─┘

┌─┐

│b│

└─┘

┌─┐

│c│

└─┘


In 902 I get a segmentation fault when running test'' - This is Linux, I
haven't run it through gdb yet, but if nobody can reproduce I will give it
a try.


Best regards,

Dimitri




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

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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

Reply via email to