I see it at number 38
38{a.
&
37{a.
%
2007/11/14, Devon McCormick <[EMAIL PROTECTED]>:
>
> Members of the forum:
>
> I am trying to find the ampersand character (&) in order to display it in
> a
> simple text window.
> This is more difficult than it sounds. Using the following function:
> showText=: 3 : 0
> 80 120 showText y
> :
> if. (0~:L. y)*.2=#y do. 'font txt'=. y else. 'font txt'=. 'Courier';y
> end.
> wd 'pc quoteshow;xywh 0 0 ',(":x),';cc stcWin static;pas 0 0'
> wd 'setfont stcWin "',font,'" 12;setcolor stcWin 255 255 255 0 0 0 0 0
> 0'
> wd 'set stcWin *',txt
> wd 'setshow stcWin 1;pshow'
> )
>
> thusly
> showText ,LF,~"_1]16 32$,(194{a.),.}.a.
> and
> showText ,LF,~"_1]16 32$,(195{a.),.}.a.
>
> I can see many useful characters but not the ampersand; it follows the
> percent sign (%)
> in a..
>
> Does anyone else see it? Does anyone know where it's hiding?
> I'm using J 6.01.
>
> Thanks,
>
> Devon
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, 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