bug-apl
[Top][All Lists]
Advanced

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

)DUMP entry with syntax error


From: Hans-Peter Sorge
Subject: )DUMP entry with syntax error
Date: Thu, 3 Dec 2020 18:35:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

Hi,

a short test gives:

$ apl -q
      X←⊂'XXX'
      )WSID DUMP_TEST
WAS CLEAR WS
      )DUMP
2020-12-03  18:20:00 (GMT+1)
      )OFF


     )load DUMP_TEST.apl
DUMPED 2020-12-03  18:20:00 (GMT+1)
SYNTAX ERROR
      ((⎕IO+)⊃X)←'XXX'
      ^         ^

$ less DUMP_TEST.apl
.....
X←00
    ((⎕IO+)⊃X)←'XXX'
.....

should be
X←⊂¨,0
    ((⎕IO+0)⊃X)←'XXX'

or even just
X←⊂'XXX'


Best Regards
Hans-Peter

reply via email to

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