Next: setlabels() Up: MacAnova Help File Previous: select()   Contents

sethistory()

Usage:
sethistory(lines), lines is a CHARACTER vector with length <= value of
  option 'history'



Keywords: general
sethistory(Lines), where Lines is a CHARACTER vector, resets the
internal list of previous commands to Lines with Lines[1] the earliest
command available.  Subsequent keyboard or menu retrieval of previous
commands will retrieve elements of Lines.

It is an error if length(Lines) > nHist, where nHist is the value of
option 'history'.  See subtopic 'options:"history"'.

sethistory() is not implemented in the limited memory DOS version or in
any version that does not allow keyboard or menu retrieval of previous
commands.

See gethistory() for an example using gethistory() and sethistory() to
maintain a history of commands executed between MacAnova sessions.


Gary Oehlert 2003-01-15