name elements

General APL language issues

name elements

Postby Phil Last on Fri Feb 05, 2010 9:35 am

. . . {⍵,[-.1]'.^'[0>⎕NC⍪⍵]}⎕UCS 192+⍳64
Obviously there's no mystery in the × and ÷ flagged above, though how they got in those positions in the first place seems a bit odd. But why do capital Thorn and those two wyes not qualify?
User avatar
Phil Last
Posts: 557
Joined: Thu Jun 18, 2009 6:29 pm

Re: name elements

Postby Morten|Dyalog on Fri Feb 05, 2010 12:12 pm

The precise answer to this is lost in the fog of the old pre-Unicode fonts; these symbols are allowed in order to allow old code to continue to work, only. Dyalog strongly advises you not to use any of these characters in names, as they are bound to cause problems in the future as inter-operability between APL and other programming languages becomes more and more important.

APL# (a new dialect of Dyalog APL, which we will "soon" start discussing specifications for in public) will not allow the use of these characters in identifiers.
User avatar
Posts: 394
Joined: Tue Sep 09, 2008 3:52 pm

Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest