901, sorry

On Mon, Apr 20, 2020 at 10:59 AM Dimitri Georganas <d...@biodys.com> 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

Reply via email to