bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Format by example


From: Bill Daly
Subject: Format by example
Date: Thu, 6 Aug 2020 16:09:40 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

I was not really sure of how format by example worked:

      'This is a description 55,550.' ⍕ t1[1;1]

==============================================================================
Assertion failed: row.size() == format.size()
in Function:      format_by_example
in file:          Bif_F12_FORMAT.cc:289

Call stack:

----------------------------------------
-- Stack trace at Bif_F12_FORMAT.cc:289
----------------------------------------
0x7FA80A0F4B97 __libc_start_main
0x5574C5E7DFE5  main
0x5574C6006085   Workspace::immediate_execution(bool)
0x5574C5EDEAB8    Command::process_line()
0x5574C5EDF6F8     Command::do_APL_expression(UCS_string&)
0x5574C5EDEBCD      Command::finish_context()
0x5574C5EE7C37       Executable::execute_body() const
0x5574C5FA4734        StateIndicator::run()
0x5574C5F1E470         Prefix::reduce_statements()
0x5574C5F16A52          Prefix::reduce_A_F_B_()
0x5574C5EA29E3           Bif_F12_FORMAT::eval_AB(Value_P, Value_P)
0x5574C5EA2701 Bif_F12_FORMAT::format_by_example(Value_P, Value_P)
0x5574C5E93EE7             do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:      0
Exec:       0x5574c8288a90
Safe exec:  0
Pmode:      ◊  'This is a description 55,550.' ⍕ t1[1;1]
PC:         8 (10) ENDL
Stat:       'This is a description 55,550.' ⍕ t1[1;1]
err_code:   0x0


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


===================================================
SEGMENTATION FAULT

----------------------------------------
-- Stack trace at main.cc:88
----------------------------------------
0x7FA80AE278A0
0x5574C5E8512B
========================================
====================================================


Process apl exited abnormally with code 3

w




reply via email to

[Prev in Thread] Current Thread [Next in Thread]