Well.., I don't know if you're even reading this, but... here's an
approach for #2.
I decided that since all numeric arrays are so much nicer to work
with, that I should use those from the start. Fixing up #1 to use the
same approach is left as an exercise for the reader:
B1=: _ {.@".every fixcsv
On to function #2 that I need (see how-to #1 for background)
Given data set B below, moving from first to last, if the CLOSE value
(column 4) is zero, replace the zeros in columns 1 to 5 with the
preceding day's data (columns 1 to 5). Note that multiple zero rows
will therefore have the same