The first a could be obtained by:
v=.9!:8''
v=.('a',&.>3{v)3}v
9!:9 v
'' =.' '
|aill-formed name
| '' =.' '
But the second one is more difficult ;O)...
Paul Gauthier
APL Software Developer - Senior
[EMAIL PROTECTED]
Phone: 312-739-3467
Fax: 312-739-3496
CheckFree. The Company that Powers Payment on the WebSM.
http://www.checkfree.com/paybillsonline
Brian Schott <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/10/2006 12:19 PM
Please respond to
Programming forum <[email protected]>
To
Programming forum <[email protected]>
cc
Subject
Re: [Jprogramming] You know what I just realized?
Ok, here is a quiz. How did I get the following
readout (ie, how did the letter a get in there) ?
''=.' '
aill-formed name
a '' =.' '
***********[Spoiler below]**********************
On Wed, 10 May 2006, Dan Bron wrote:
+ Perfectly valid J:
+
+
+ ''=.''
+
+ Heh.
+
+ -Dan
+
+ PS:
+ ''=.;a:
+ ''=.i.0
+ (i.0)=:>a: NB. Parens are less fun
+ etc.
+ ----------------------------------------------------------------------
+ For information about J forums see http://www.jsoftware.com/forums.htm
+
(B=) <----------my "sig"
Brian Schott
Atlanta, GA, USA
schott DOT bee are eye eh en AT gee em ae eye el DOT com
http://schott.selfip.net/~brian/
9!:6''
+++++++++a-
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm