Re: Comparison failure at line 1

Posted by gs99 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Comparison-failure-at-line-1-tp4026071p4026074.html

"the header lines are different."

HS generates a new .out file each time, based on this test:
>1 Run .tst with output-list z%B1.1.1 in%B1.16.1 out%B1.16.1;
.out file line 1 has: | z |        in        |       out        |

>2 Edit .tst to have output-list z%B3.1.3 in%B1.16.1 out%B1.16.1;

>3 Run again.
.out file line 1 now has: |   z   |        in        |       out        |
Notice the wider margins.

If HS generates the .out file header, what are you referring to when you say:
“the header lines are different.”?