bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Execute gives incorrect VALUE ERROR


From: David B. Lamkins
Subject: Re: [Bug-apl] Execute gives incorrect VALUE ERROR
Date: Fri, 23 May 2014 21:20:13 -0700

This is ambibiguous w.r.t. the two spec on which GNU APL is based.

Page 120 of the IBM Reference Manual says:

"Valueless Expression: If R is empty or represents a defined function or
operator without explicit result, R has no value."

Page 135 of the ISO Spec says:

"Informal Description: Z is the result of evaluating the character
scalar or vector B as a line of APL."


So the IBM spec allows an expression which doesn't return a value; the
ISO spec doesn't.

Personally, I find the IBM definition to be more accommodating of the
behaviors I'd like to see.



On Fri, 2014-05-23 at 15:24 -0500, Blake McBride wrote:
>       )CLEAR
> CLEAR WS
>       ∇fun
> [1] 'in fun'
> [2] ∇
>       ⍎'fun'
> in fun
> VALUE ERROR
>       fun
>       ^
>  





reply via email to

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