@map_history(variable)

This is a special form: the argument must be a variable identifier. It returns a map where the keys are integers and the values are the successive values assigned to the variable. Integer 0 corresponds to the current value, 1 to the previous value, etc. Variable's history has a bounded length that can be specified using a @localor a@global declaration.

See also @tab_history, @map_history_date and @map_history_rdate.

See also system related functions: @arch_darwin,    @arch_linux,    @arch_windows,    @dumpvar,    @exe_child_of,    @exe_parent,    @gnuplot,    @history_length,    @loadvalue,    @loadvar,    @plot,    @rplot,    @savevalue,    @set_osc_handling_double,    @set_osc_handling_int64,    @set_osc_handling_tab,    @specified_duration,    @string2fun,    @string2obj,    @string2proc,    @system