You're changing the order of the arguments when you get the error.

   CHAR =: 1 : 'u&(a.&i.)'
   '5' < CHAR '45678'
0 0 1 1 1

versus

   '5' CHAR < '45678'
|domain error
| '5'CHAR<'45678'


On 11/5/07, Richard Donovan <[EMAIL PROTECTED]> wrote:
>
>
>
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> > Subject: RE: [Jprogramming] My first adverb - doesn't work!
> > Date: Mon, 5 Nov 2007 22:18:43 +0100
> >
> > CHAR =: 1 : 'u&(a.&i.)'
> >
> > 'z'> CHAR 'a'
> > 1
> > '5'< CHAR '6'
> > 1
> >
> >
>
>
>    CHAR =: 1 : 'u&(a.&i.)'
>    'z' CHAR> 'a'
> |domain error
> |       'z'CHAR>'a'
> _________________________________________________________________
> The next generation of MSN Hotmail has arrived - Windows Live Hotmail
>
> http://www.newhotmail.co.uk----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to