Mercurial > hg > octave-lyh
diff src/oct-hist.cc @ 777:a2f9d3fd720c
[project @ 1994-10-07 14:01:53 by jwe]
author | jwe |
---|---|
date | Fri, 07 Oct 1994 14:13:44 +0000 |
parents | 746227103e6a |
children | dfe01093f657 |
line wrap: on
line diff
--- a/src/oct-hist.cc +++ b/src/oct-hist.cc @@ -208,12 +208,15 @@ } } break; + case 'w': // Write entire history. result = write_history (file); break; + case 'r': // Read entire file. result = read_history (file); break; + case 'n': // Read `new' history from file. // Read all of the lines in the file that we haven't already read. using_history ();