to display APL-like unicode font, you may use
wd 'setfont prim "APL385 Unicode" 10'
(note that font attribute "default" and "oem" is deprecated in J601)
One simple way to enter unicode in your example is to add an APL keyboard inside
your form, such as using one button for each unicode character you want, when
the button is pressed, the corresponding unicode character will be appended to
the input field prim. I think that you could transliterate some simple APL
expressions into J with exception of axis and backet notation.
Don Guinn wrote:
Having followed the discussion a while back about representing J
primitives with special symbols like APL instead of staying within
ASCII, I added a field in the Primitives to Mnemonics script to allow
one to easily display J primitives and idioms with unicode symbols of
one's choice. Well, it wasn't really easy. I only found a few unicode
symbols I liked. But it was enough to play with. If you want to try it
yourself look at:
http://www.jsoftware.com/jwiki/Primitives_to_Mnemonics?highlight=%28CategoryWorkInProgress%29
"+/i.5" gives "∑ Integers 5". I never could find an iota that worked. I
don't know if the sigma showed up when you read this message. How to get
specific unicode characters loaded into my computer is still a mystery
to me.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm