Hi,

⍝ this is OK:

      C10←2⍴⊂'AB12EF12IJ'

      C10

AB12EF12IJ AB12EF12IJ

      P10←(⊂2/⍳5)⊂¨C10

      S10←P10∊¨⊂⊂'12'

      S10

 0 1 0 1 0  0 1 0 1 0

      S10/¨P10

  12 12    12 12



⍝ for a one element nested vector it ends in a stack trace:


      C10←,⊂'AB12EF12IJ'

      P10←(⊂2/⍳5)⊂¨C10

      P10

  AB 12 EF 12 IJ

      ⍴⊃P10

1 5

      S10←P10∊¨⊂⊂'12'

      S10

 0 1 0 1 0

      S10/¨P10

Incomplete value at Symbol.cc:130

Addr:    0xac2bd0

Rank:    0

Shape:   ⊏⊐

Flags:   --

First:   ┏→━━━━━━━━━━━━━━━━━━━━━━━┓

┃┏→━┓ ┏→━┓ ┏→━┓ ┏→━┓ ┏→━┓┃

┃┃AB┃ ┃12┃ ┃EF┃ ┃12┃ ┃IJ┃┃

┃┗━━┛ ┗━━┛ ┗━━┛ ┗━━┛ ┗━━┛┃

┗∊━━━━━━━━━━━━━━━━━━━━━━━┛

Dynamic: DynamicObject: 0xac2bd8 (Value: 0xac2bd8) :

    prev:      0xaeb418

    next:      0xaef898

    allocated: Bif_OPER1_EACH.cc:145

value history disabled

==============================================================================

Assertion failed: 0

in Function:      assign

in file:          Symbol.cc:133

Call stack:

----------------------------------------

-- Stack trace at Symbol.cc:133

----------------------------------------

0x7F10D4E37042 __libc_start_main

0x4E4996  main

0x678E43   Workspace::immediate_execution(bool)

0x53BD6A    Command::process_line()

0x53BF16     Command::process_line(UCS_string&)

0x53E29F      Command::do_APL_expression(UCS_string&)

0x53E61E       Command::finish_context()

0x55C36D        Executable::execute_body() const

0x61FB9C         StateIndicator::run()

0x590B10          Prefix::reduce_statements()

0x592737           Prefix::reduce_A_F_B_()

0x56480D            DerivedFunction::eval_AB(Value_P, Value_P)

0x52029E             Bif_OPER1_EACH::eval_ALB(Value_P, Token&, Value_P)

0x65AEEB              UserFunction::eval_ALB(Value_P, Token&, Value_P)

0x62C2AB               Symbol::push_value(Value_P)

0x62AE9F                Symbol::assign(Value_P, bool, char const*)

0x4FD105                 do_Assert(char const*, char const*, char const*, int)

========================================

SI stack:

Depth:      1

Exec:       0x7f3490

Safe exec:  0

Pmode:      ∇ μ-Z__sA_LO_EACH_sB[1]

PC:         0 (8) 'μ-B

Stat:       Z←⊂A LO B

err_code:   0x0

Depth:      0

Exec:       0xac25c0

Safe exec:  0

Pmode:      ◊  S10/¨P10

PC:         4 (6) ENDL

Stat:       S10/¨P10

err_code:   0x0

==============================================================================



Best Regards
Hans-Peter

Reply via email to