name elements
2 posts
• Page 1 of 1
name elements
. . . {⍵,[-.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?
ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
.......................^......^........................^.....^.^
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?
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
Re: name elements
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.
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.
-
Morten|Dyalog - Posts: 453
- Joined: Tue Sep 09, 2008 3:52 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group