Re: [Bug-apl] Segfault when tracing not a function

2015-10-22 Thread Kacper Gutowski
--- src/QuadFunction.cc (revision 686) +++ src/QuadFunction.cc (working copy) @@ -1604,7 +1604,7 @@ } Function * fun = fun_symbol->get_function(); - if (fun_symbol == 0) + if (fun == 0) { CERR << "symbol " << fun_name_ucs << " is not a function" << endl; return

[Bug-apl] Segfault when tracing not a function

2015-10-22 Thread Kacper Gutowski
Using ⎕TRACE or ⎕STOP with some other symbol than user defined function either through T∆/S∆ or directly, either for querying or setting, results in a segmentation fault: A←3 ⎕TRACE'A' SEGMENTATION FAULT --

Re: [Bug-apl] ⎕TRACE usage ?

2015-10-22 Thread Kacper Gutowski
On Fri, Oct 23, 2015 at 5:45 AM, wrote: > Is there documentation on how to use ⎕TRACE ? I ran info apl | grep ⎕TRACE > and found nothing. It does not look like it is listed in the IBM APL2 manual > either. ⎕STOP and ⎕TRACE are defined in ISO 13751. They are part of optional facility "Trace and

[Bug-apl] ⎕TRACE usage ?

2015-10-22 Thread alexweiner
Hi Bug-apl, Is there documentation on how to use ⎕TRACE ? I ran info apl | grep ⎕TRACE and found nothing. It does not look like it is listed in the IBM APL2 manual either. -Alex

Re: [Bug-apl] Conversion from APL2000 to Gnu APL

2015-10-22 Thread Kacper Gutowski
On Thu, Oct 22, 2015 at 3:29 PM, Michael Potter wrote: > APL2000 does not appear to have an )OUT command. > > We get: > "INCORRECT COMMAND" in response to: > )OUT > )OUT SOMEFILE > )OUT C:SOMEFILE I think in APL2000 it should be ]OUT starting with square bracket. At least that's what comp.lang.ap

Re: [Bug-apl] Conversion from APL2000 to Gnu APL

2015-10-22 Thread Juergen Sauermann
Hi Michael, yes. GNU APL supports scripts, which are basically (UTF-8 encoded) text files containing executable APL code. If you are lucky then your interpreter supports 2 ⎕TF xxx (which converts an APL function or variable xxx into executable

Re: [Bug-apl] Conversion from APL2000 to Gnu APL

2015-10-22 Thread Michael Potter
APL2000 does not appear to have an )OUT command. We get: "INCORRECT COMMAND" in response to: )OUT )OUT SOMEFILE )OUT C:SOMEFILE There are about 100 modules in this workspace, so I would rather not cut and paste them between interpreters. Any other ideas? On Thu, Oct 22, 2015 at 8:33 AM, Juergen

Re: [Bug-apl] Conversion from APL2000 to Gnu APL

2015-10-22 Thread Juergen Sauermann
Hi Michael, in principle it is possible to exchange workspaces between different APL interpreters. However,  the workspace files produced by one interpreters cannot be loaded by another interpreter directly, and trying to do so leads to errors