• APL NARS2000 possible bug

    From Rosario19@21:1/5 to All on Wed Feb 26 18:25:16 2025
    [] is the output char, <> is the separator char

    A possibile bug but only when there is []IO=1
    program print, and only when there is ")box on"

    APL NARS2000 (Win64) Version # 0.5.14.11

    )box on
    Was OFF
    {[]<-a<- 1 2 <> []<-'[]IO=',[]IO <> a[2] }
    +2---+
    ¦ 1 2¦
    +~---+
    +5------+
    ¦ ?IO= 0¦
    ++------+
    INDEX ERROR
    {[]<-a<- 1 2 <> []<-'[]IO=',[]IO <> a[2] }
    ^
    here repeat the linke cancel the first 2 chars of above "[]<-"
    {a<- 1 2 <> []<-'[]IO=',[]IO <> a[2]}
    +5------+
    ¦ ?IO= 1¦
    ++------+
    INDEX ERROR
    {a?1 2???'?IO=',?IO?a[2]}
    ?

    this below when box is off... all ok

    )box off
    Was ON
    {a<- 1 2 <> []<-'[]IO=',[]IO <> a[2]}
    1 2
    []IO= 1
    2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rosario19@21:1/5 to All on Wed Feb 26 18:34:13 2025
    On Wed, 26 Feb 2025 18:25:16 +0100, Rosario19 <Ros@invalid.invalid>
    wrote:


    [] is the output char, <> is the separator char

    A possibile bug but only when there is []IO=1
    program print, and only when there is ")box on"

    APL NARS2000 (Win64) Version # 0.5.14.11

    )box on
    Was OFF
    {[]<-a<- 1 2 <> []<-'[]IO=',[]IO <> a[2] }
    +2---+
    ¦ 1 2¦
    +~---+
    +5------+
    ¦ ?IO= 0¦
    ++------+
    INDEX ERROR
    {[]<-a<- 1 2 <> []<-'[]IO=',[]IO <> a[2] }
    ^
    here repeat the linke cancel the first 2 chars of above "[]<-"
    {a<- 1 2 <> []<-'[]IO=',[]IO <> a[2]}
    +5------+
    ¦ ?IO= 1¦
    ++------+
    INDEX ERROR
    {a?1 2???'?IO=',?IO?a[2]}
    ?

    this below when box is off... all ok

    )box off
    Was ON
    {a<- 1 2 <> []<-'[]IO=',[]IO <> a[2]}
    1 2
    []IO= 1
    2

    In pratice
    when []IO is 1 and )box is on
    {[]<-a<- 1 2 <> []<-'[]IO =',[]IO <> a[2]}
    this above print that []IO is 0, and 2 is out of index of "a"

    but if change line above remove "[]<-"
    {a<- 1 2 <> []<-'[]IO =',[]IO <> a[2]}
    this above print that []IO is 1, and 2 is out of index of a


    when []IO is 1 and )box is off
    {[]<-a<- 1 2 <> []<-'[]IO =',[]IO <> a[2]}
    print 1 2
    print []IO is 1
    print a[2]

    so all ok

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Smith@21:1/5 to All on Thu Mar 27 14:57:10 2025
    On 2/26/2025 12:25 PM, Rosario19 wrote:

    [] is the output char, <> is the separator char

    A possibile bug but only when there is []IO=1
    program print, and only when there is ")box on"

    Thanks for the bug report. I'm working on some other features and will
    figure out why )box is misbehaving later.

    --
    _________________________________________
    Bob Smith -- bsmith@sudleydeplacespam.com
    http://www.sudleyplace.com - http://www.nars2000.org

    To reply to me directly, delete "despam".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rosario19@21:1/5 to Bob Smith on Sun Mar 30 13:13:52 2025
    On Thu, 27 Mar 2025 14:57:10 -0400, Bob Smith wrote:
    On 2/26/2025 12:25 PM, Rosario19 wrote:

    [] is the output char, <> is the separator char

    A possibile bug but only when there is []IO=1
    program print, and only when there is ")box on"

    Thanks for the bug report. I'm working on some other features and will >figure out why )box is misbehaving later.

    thank you. I hope all go well there

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)