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

Reply via email to