]inf =: <\'õige'
+-+--+---+----+-----+
||õ|õi|õig|õige|
+-+--+---+----+-----+

3 u:>0 { inf
195
195 { a.  

   

3 u:>1 { inf
195 181
195 181 { a.
õ

As umlaut characters are coded with two symbols, I try to understand, if the
first infix consists of a full regular character or a half umlaut character.
In the latter case I want to choose the second infix which contains the full
umlaut character.

> 
> What is it you want to do?
>      str &.> inf
> +-+-+-+-+
> |w|w|w|w|
> +-+-+-+-+
> 
> 
> 2008/11/7 Kairit Sirts <[EMAIL PROTECTED]>
> 
> > I have the following program:
> >
> > ]inf =: <\'word'
> > +-+--+---+----+
> > |w|wo|wor|word|
> > +-+--+---+----+
> >
> > cond =: 195&=@(3&u:@(>@(0&{)))
> > str1 =: {.
> > str2 =: [EMAIL PROTECTED]
> > str =: [EMAIL PROTECTED]
> >
> >   str inf
> > |rank error: str
> > |       str inf
> >
> > I don't understand, what is causing the error.
> >
> > Kairit Sirts
> >
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> 
> 
> 
> --
> Björn Helgason, Verkfræðingur
> Fugl&Fiskur ehf,
> Þerneyjarsundi 23, Hraunborgum
> Po Box 127,801 Selfoss ,
> t-póst: [EMAIL PROTECTED]
> gsm: +3546985532
> Landslags og skrúðgarðagerð, gröfuþjónusta
> http://groups.google.com/group/J-Programming
> 
> 
> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> 
> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>          /|_      .-----------------------------------.
>         ,'  .\  /  | Með léttri lund verður        |
>     ,--'    _,'   | Dagurinn í dag                     |
>    /       /       | Enn betri en gærdagurinn  |
>   (   -.  |        `-----------------------------------'
>   |     ) |        (\_ _/)
>  (`-.  '--.)       (='.'=)
>   `. )----'        (")_(")


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to