Hi Dirk,

thank you very much for your proposal.

Introducing new errors in GNU APL would also require new error numbers in ⎕ET and
friends, and that could break existing programs of other GNU APL users.

For that reason I took a different approach of providing the error details with the
 )MORE command:

      ∇Z←FOO B
[1] Z←B
[2] ∇
     
      FOO←1 2 3
SYNTAX ERROR+
      FOO←1 2 3
      ^  ^

      )MORE
Cannot assign a value to a function



SVN 1048.

Best regards,
/// Jürgen



On 05/13/2018 03:15 PM, Dirk Laurie wrote:
Hi Jürgen:

      a←1
      a←{⍺*⍵}
SYNTAX ERROR

Also:
      f←{⍺-⍵}
      f←1
SYNTAX ERROR

Would it be possible to print NAME CLASS ERROR instead?

Best wishes
Dirk



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to