Actually, 'in' is a wrapper for fread that reads the input file. I forgot
to include it this time, sorry.
It's defined as:

in=: [: freads '.txt' ,~ _2 {.!.'0' ": NB. read input of day y (given as
num)

and I keep each day's input in a file named dd.txt, with dd the 2 digit day
number.

On Sun, Jan 2, 2022, 19:36 Brian Schott <[email protected]> wrote:

> I think I understand that Jan-Pieter has a data noun named in12
> which I reproduce here.
>
>    in12 =: 0 : 0
> start-A
> start-b
> A-c
> A-b
> b-d
> A-end
> b-end
> )
>  Then that line of code, but ending in in12 instead of in 12, works.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to