code: def append_line(self, new_line):
          
          # TODO: The user still has to write the raw line, this is error prone.
          self._write(('PGM', [Integer, String]), self.idx, new_line)
docs: Appends the new_line to the LS340 program.