Mercurial > octave-nkf
view .hgsubstate @ 15823:bc7a130bbdfb
allow history commands to take numeric arguments
* oct-hist.cc (do_history, mk_tmp_hist_file, do_edit_history,
do_runt_history): Accept args as octave_value_list instead of
string_vector. Handle numeric and character string inputs.
(get_int_arg): New static function.
(Fhistory): Pass args and nargout to do_history instead of converting
args to a string_vector.
(Fedit_history): Pass args do_edit_history instead of converting
args to a string_vector.
(Frun_history): Likewise, for do_run_history.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Dec 2012 14:54:12 -0500 |
parents | f7f1a2d4e9c8 |
children | 44f30dcd87e0 |