[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] user defined functions using Unicode math chars
From: |
Ala'a Mohammad |
Subject: |
Re: [Bug-apl] user defined functions using Unicode math chars |
Date: |
Sat, 14 May 2016 21:47:39 +0400 |
Hi Juergen,
Thanks for the prompt response.
How unfortunate, otherwise it will allow extending language's
terseness and allowing for more compact solutions.
Thanks again.
Regards,
Ala'a
On Sat, May 14, 2016 at 7:34 PM, Juergen Sauermann
<address@hidden> wrote:
> Hi Ala,
>
> the allowed characters in variable names are defined in the ISO standard and
> √ is none of them. Unicode characters can be used inside strings, like in
>
> VAR ← '√'
>
> but not otherwise.
>
> /// Jürgen
>
>
>
> On 05/14/2016 12:27 PM, Ala'a Mohammad wrote:
>
> Hi,
>
> I'm trying to define user functions using some unicode characters, but
> gnu-apl complains about the characters used not being from the defined
> acceptable set:
>
> √ ← {⍵ ⋆ ÷2}
> Unknown APL character: √ (U+221A)
> Non-APL character
> ∛ ← {⍵ ⋆ ÷3}
>
> Unknown APL character: ∛ (U+221B)
> Non-APL character
>
> Is this a requirement by the standard?
>
> Regards,
>
> Ala'a
>
>
>