bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] )SI asterisk should be on same line


From: Blake McBride
Subject: Re: [Bug-apl] )SI asterisk should be on same line
Date: Mon, 12 May 2014 09:13:09 -0500

Your representation is inconsistent with my memory and inconsistent with non-IBM books I have (Gilman&Rose, Polivka&Pakin, etc).  The IBM references do show it as you do however.

Thanks!

Blake



On Mon, May 12, 2014 at 6:29 AM, Juergen Sauermann <address@hidden> wrote:
Hi Blake,

the asterisk marks an own SI entry for immediate execution, so
it does not belong to fun and should be on a separate line, see below.

/// Jürgen


      ]SI
Depth:    3
Exec:     0x98373a8
Pmode:    ∇ fun[1]
PC:       1 ENDL
Stat:     fun2
err_code: 0x30001
thrown:   at Symbol.cc:679
e_msg_1:  'VALUE ERROR'
e_msg_2:  'fun[1]  fun2'
e_msg_3:  '        ^'

Depth:    2
Exec:     0x9838bf0
Pmode:    ◊  fun
PC:       1 ENDL
Stat:     fun
err_code: 0x0
thrown:   at StateIndicator.cc:40
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''

Depth:    1
Exec:     0x98373a8
Pmode:    ∇ fun[1]
PC:       1 ENDL
Stat:     fun2
err_code: 0x30001
thrown:   at Symbol.cc:679
e_msg_1:  'VALUE ERROR'
e_msg_2:  'fun[1]  fun2'
e_msg_3:  '        ^'

Depth:    0
Exec:     0x9837298
Pmode:    ◊  fun
PC:       1 ENDL
Stat:     fun
err_code: 0x0
thrown:   at StateIndicator.cc:40
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''




On 05/11/2014 04:09 PM, Blake McBride wrote:
The output to )SI seems correct except that the asterisk should be on the same line as the function and line.

      )clear
CLEAR WS
      ∇fun
[1] fun2
[2] ∇
      fun
VALUE ERROR
fun[1]  fun2
        ^
      )SI
fun[1]

      fun
VALUE ERROR
fun[1]  fun2
        ^
      )SI
fun[1]

fun[1]

      ⎕LC
1 1




)SI should only show two line, not four.  The asterick should be on the same line.

Thanks.

Blake




reply via email to

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