Mercurial > hg > octave-nkf
comparison src/oct-hist.cc @ 2086:bfb775fb6fe8
[project @ 1996-04-25 05:55:19 by jwe]
author | jwe |
---|---|
date | Thu, 25 Apr 1996 05:55:19 +0000 |
parents | 003570e69c7b |
children | 36903d507b0e |
comparison
equal
deleted
inserted
replaced
2085:7603b37325db | 2086:bfb775fb6fe8 |
---|---|
519 DEFUN_TEXT (edit_history, args, , | 519 DEFUN_TEXT (edit_history, args, , |
520 "edit_history [first] [last]\n\ | 520 "edit_history [first] [last]\n\ |
521 \n\ | 521 \n\ |
522 edit commands from the history list") | 522 edit commands from the history list") |
523 { | 523 { |
524 Octave_object retval; | 524 octave_value_list retval; |
525 | 525 |
526 int argc = args.length () + 1; | 526 int argc = args.length () + 1; |
527 | 527 |
528 string_vector argv = args.make_argv ("edit_history"); | 528 string_vector argv = args.make_argv ("edit_history"); |
529 | 529 |
538 DEFUN_TEXT (history, args, , | 538 DEFUN_TEXT (history, args, , |
539 "history [N] [-w file] [-r file] [-q]\n\ | 539 "history [N] [-w file] [-r file] [-q]\n\ |
540 \n\ | 540 \n\ |
541 display, save, or load command history") | 541 display, save, or load command history") |
542 { | 542 { |
543 Octave_object retval; | 543 octave_value_list retval; |
544 | 544 |
545 int argc = args.length () + 1; | 545 int argc = args.length () + 1; |
546 | 546 |
547 string_vector argv = args.make_argv ("history"); | 547 string_vector argv = args.make_argv ("history"); |
548 | 548 |
557 DEFUN_TEXT (run_history, args, , | 557 DEFUN_TEXT (run_history, args, , |
558 "run_history [first] [last]\n\ | 558 "run_history [first] [last]\n\ |
559 \n\ | 559 \n\ |
560 run commands from the history list") | 560 run commands from the history list") |
561 { | 561 { |
562 Octave_object retval; | 562 octave_value_list retval; |
563 | 563 |
564 int argc = args.length () + 1; | 564 int argc = args.length () + 1; |
565 | 565 |
566 string_vector argv = args.make_argv ("run_history"); | 566 string_vector argv = args.make_argv ("run_history"); |
567 | 567 |