A divertissement from http://www.jsoftware.com/jwiki/Essays/Number%20in%20Words#Chinese
zh 123456789 一億二千三百四十五萬六千七百八十九 2^53x 9007199254740992 zh 2^53x 九千零七兆一千九百九十二億五千四百七十四萬零九百九十二 ----- Original Message ----- From: emptist <[email protected]> Date: Tuesday, August 25, 2009 22:10 Subject: Re: [Jchat] Is it possible to use Chinese for variable/function names? To: [email protected] > > Hi, > > The first easy thing I thought of was to write a shell script to > parse the > Chinese code into standard J. But that's not fun :) and I would > prefer using > primitives instead. > > > Tracy Harms-3 wrote: > > > > Non-ASCII names may, however, be accomplished by way of a customized > > preprocessor. > > > > > > On Tue, Aug 25, 2009 at 5:10 PM, Sherlock, > Ric<[email protected]>> wrote: > >>> From: emptist > >>> > >>> Hi, > >>> I wonder if it's supported feature to use two byte chars > such as > >>> Chinese Chars for varialbe/function names. I have tried > typing a > >>> few but have got errors. Am I missing something? > >> > >> No, currently names must be ASCII. There has been previous forum > >> discussion about representing J primitives as a single > (Unicode) symbols > >> if you wish to search for it. > >> > >> From the Dictionary page "Alphabet and Words": > >> http://www.jsoftware.com/help/dictionary/dict1.htm > >> > >> "The alphabet is standard ASCII, comprising digits, letters > (of the > >> English alphabet), the underline (used in names and numbers), ..." > >> > >> "Names ... begin with a letter and may continue with letters, > underlines,>> and digits." ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
