Navigation

Operators and Keywords

Function List:

C++ API

: val = history_save ()
: old_val = history_save (new_val)
: history_save (new_val, "local")

Query or set the internal variable that controls whether commands entered on the command line are saved in the history file.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: history_control, history_file, history_size, history_timestamp_format_string.

Package: octave