• APL NARS2000 possible bug

    From Rosario19@Ros@invalid.invalid to comp.lang.apl on Wed Feb 26 18:25:16 2025
    From Newsgroup: comp.lang.apl


    [] 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---+
    a 1 2a
    +~---+
    +5------+
    a ?IO= 0a
    ++------+
    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------+
    a ?IO= 1a
    ++------+
    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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Rosario19@Ros@invalid.invalid to comp.lang.apl on Wed Feb 26 18:34:13 2025
    From Newsgroup: comp.lang.apl

    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---+
    a 1 2a
    +~---+
    +5------+
    a ?IO= 0a
    ++------+
    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------+
    a ?IO= 1a
    ++------+
    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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bob Smith@bsmith@sudleydeplacespam.com to comp.lang.apl on Thu Mar 27 14:57:10 2025
    From Newsgroup: comp.lang.apl

    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".

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Rosario19@Ros@invalid.invalid to comp.lang.apl on Sun Mar 30 13:13:52 2025
    From Newsgroup: comp.lang.apl

    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
    --- Synchronet 3.21d-Linux NewsLink 1.2