You used {: in the last line.  Try it with {. .

Henry Rich

On 5/25/2020 6:40 PM, HH PackRat wrote:
On 5/25/20, Henry Rich <[email protected]> wrote:
Look at the shape of the strings.  Probably one of them has a leading 1
in the shape.  You can either display the shape by hand or use Dissect.
Here is my data again, this time with the shape after each step:

{. a
┌───┬───┬───┬───┬─-─┬-──┬──-────┬┐
│Date│Price│Open│High│Low│Vol.│Change %││
└───┴───┴───┴───┴-──┴─-─┴─-─────┴┘
$ = 8

0 { ({. a)
┌───┐
│Date│
└───┘
$ = no value displayed

0 { ({. a)
Date
$ = 4

toupper (> 0 { ({. a))
DATE
$ = 4

'DATE' -: toupper (> 0 { ({: a))
0
$ = no value displayed

Does this give any more helpful info to answer my question: since DATE
and DATE are identical, why is the value of the match false (0)?

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


--
This email has been checked for viruses by AVG.
https://www.avg.com

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

Reply via email to