diff --git a/APLSource/Main/GetColumnFormatCodes.aplf b/APLSource/Main/GetColumnFormatCodes.aplf index 4a37705..3748c23 100644 --- a/APLSource/Main/GetColumnFormatCodes.aplf +++ b/APLSource/Main/GetColumnFormatCodes.aplf @@ -1,16 +1,13 @@ GetColumnFormatCodes←{ - wi←⍵.WorkbookInfo - h←wi.HeaderRows - n←(2*19)⌊≢⍵.FirstBlock - p←{(+\'1:uc(↑¨↓⍉d) h←wi.HeaderRows + p.FirstRow←(h=¯1++\0=m[;0])⌿m p.Header←h↑d uc(↑¨↓⍉h↓d) ⍝ Column Indices , Inverted Data } diff --git a/APLSource/Main/ReadRowBlock.aplf b/APLSource/Main/ReadRowBlock.aplf index 5c64541..dcc5b66 100644 --- a/APLSource/Main/ReadRowBlock.aplf +++ b/APLSource/Main/ReadRowBlock.aplf @@ -1,5 +1,5 @@ ReadRowBlock←{ ⍵.EndOfRows:'' - 0=⍵.Blocks:⍵.FirstBlock←ReadRowBlockFirst ⍵ + 0=⍵.Blocks:ReadRowBlockFirst ⍵ ⍵ TrimRowBlock ReadBlock ⍵ }